In OpenCV, cvWaitKey() might be one of most frequently used functions in interactive applications. For example (code in C++):
while(true)
{
doSomething();
if(cvWaitKey() == 27) // 27 is the key code of Escape
{
break;
}
}
This works in Windows, but not work in Ubuntu. Both C++ version and python version can't catch …
read more