1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merged the trunk till r8291

This commit is contained in:
Andrey Kamaev
2012-05-18 12:18:17 +00:00
parent caddd398e6
commit 50ad690993
25 changed files with 143 additions and 64 deletions
+3 -3
View File
@@ -271,13 +271,13 @@ int main(int argc, const char *argv[])
displayState(frameDisp, helpScreen, useGPU, findLargestObject, filterRects, fps);
imshow("result", frameDisp);
int key = waitKey(5);
char key = (char)waitKey(5);
if (key == 27)
{
break;
}
switch ((char)key)
switch (key)
{
case ' ':
useGPU = !useGPU;
@@ -305,4 +305,4 @@ int main(int argc, const char *argv[])
}
return 0;
}
}