Skip to content

Commit

Permalink
* Space to stepwisely iterate through the images
Browse files Browse the repository at this point in the history
  • Loading branch information
chrberger committed Jul 28, 2015
1 parent 164ccfe commit 757cac2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CaroloCup-CameraPlayback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ int32_t main(int32_t argc, char **argv)
char c = cvWaitKey(10);
// Check if the user wants to stop the replay by pressing ESC.
if (static_cast<uint8_t>(c) == 27) break;
else if (static_cast<uint8_t>(c) == 32) {
char c = cvWaitKey();
if (static_cast<uint8_t>(c) == 27) break;
}

++frameNumber;
}
Expand Down

0 comments on commit 757cac2

Please sign in to comment.