update samples: waitKey() usage

Original commit is a5f19f7dd6
This commit is contained in:
StevenPuttemans authored and Alexander Alekhin committed 2016-12-15 15:39:47 +03:00
1 parent 4e7b521438
commit 6d34d6b47e
76 files changed
+142 -154

No files matched your search

@@ -180,7 +180,7 @@ int main(int argc, char *argv[])
Mat frame, frame_vis;
while(cap.read(frame) && waitKey(30) != 27) // capture frame until ESC is pressed
while(cap.read(frame) && (char)waitKey(30) != 27) // capture frame until ESC is pressed
{
frame_vis = frame.clone(); // refresh visualisation frame