problem occurs:
When using OpenCV on the raspberry pie, the following error occurred:
Window System doesn ' t support OpenGL
After positioning, found that the error occurred in Cvshowimage, after analysis, the reason is that the raspberry system is installed in the easy version of OpenGL, so do not support cvshowimage, the solution is as follows solutions.
Turn from: Http://raspberrypi.stackexchange.com/questions/40438/opencv-display-image-window-system-doesnt-support-opengl
Problem:
I have a project which uses the Raspberry Pi camera and OpenCV to doing some analysis. However, when I want to display the image (with the OpenCV API/a ROS node), there ' s an error saying
Window System doesn ' t support OpenGL
Solutions:
Raspberry Pi doesn ' t come with OpenGL support by default, but it's a simple installation. I believe you the just need to install Libgl1-mesa-dri. Can do this at the command line Using:code:
$ apt-get Update
$ apt-get Install Libgl1-mesa-dri