This commit is contained in:
Alexander Shishkov 2012-02-17 08:35:46 +00:00
parent 2ad7add613
commit d7031606c2

View File

@ -41,7 +41,7 @@ namespace {
for (;;) {
capture >> frame;
if (frame.empty())
continue;
break;
imshow(window_name, frame);
char key = (char)waitKey(5); //delay N millis, usually long enough to display and capture input
switch (key) {