Skip to content

Commit

Permalink
add some curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
AndBobsYourUncle committed Mar 30, 2019
1 parent fd32a3d commit 14ca48e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,9 @@ int main(int argc, char *argv[]) {
}
}

if(!FLAGS_no_image)
if(!FLAGS_no_image) {
cv::imshow("Detection results", frame);
}

if(has_people_in_frame && !humans_detected) {
humans_detected = true;
Expand Down Expand Up @@ -616,8 +617,9 @@ int main(int argc, char *argv[]) {
break;
}
}
if(exit_gracefully)
if(exit_gracefully) {
break;
}
}
// -----------------------------------------------------------------------------------------------------
// auto total_t1 = std::chrono::high_resolution_clock::now();
Expand Down

0 comments on commit 14ca48e

Please sign in to comment.