Commit d7031606 authored by Alexander Shishkov's avatar Alexander Shishkov

fixed #1363

parent 2ad7add6
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment