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

@@ -44,7 +44,6 @@ int main(int argc, char *argv[])
conv << argv[3] << endl << argv[4]; // put in the strings
conv >> psnrTriggerValue >> delay; // take out the numbers
char c;
int frameNum = -1; // Frame counter
VideoCapture captRefrnc(sourceReference), captUndTst(sourceCompareWith);
@@ -126,7 +125,7 @@ int main(int argc, char *argv[])
imshow(WIN_RF, frameReference);
imshow(WIN_UT, frameUnderTest);
c = (char)waitKey(delay);
char c = (char)waitKey(delay);
if (c == 27) break;
}