Getting error in cv::imshow() - ASSERT: “false” in file qasciikey.cpp, line 501
问题 I am getting this error whenever I call cv::waitKey(): ASSERT: "false" in file qasciikey.cpp, line 501 I am not sure why I am getting this error. I am running on an Ubuntu Server 14.04 EC2 instance connected through MobaXterm on Windows. If I run all of the same code on a normal ubuntu machine, all works great. This is the line where this happens: char key = cvWaitKey(33); 回答1: A workaround in MobaXterm is to uncheck "Unix-compatible keyboard" in X11 settings. 回答2: Try this. pip install