strong text
1 | initial version |
strong text
2 | No.2 Revision |
strong textPorting a OpenCV program from Windows to Linux and found that the value returned from waitKey() had to be "%256"'ed. Looked at the docs and OpenCV is of type integer:
http://docs.opencv.org/modules/highgui/doc/user_interface.html?highlight=waitkey#int%20waitKey%28int%20delay%29
So, is the waitKey() method broken in Linux. Or is there a reasonable explanation as to how why this method works differently between Windows and Linux.
-thanks
3 | No.3 Revision |
Porting a OpenCV program from Windows to Linux and found that the value returned from waitKey() had to be "%256"'ed. Looked at the docs and OpenCV is of type integer:
http://docs.opencv.org/modules/highgui/doc/user_interface.html?highlight=waitkey#int%20waitKey%28int%20delay%29
So, is the waitKey() method broken in Linux. Or is there a reasonable explanation as to how why this method works differently between Windows and Linux.
-thanks