OpenCV error: Unspecified error (feature not implemented)

OpenCV error: Unspecified error (feature not implemented). Rebuild the library with Windows support, GTK + 2.x or Carbon. If you are on Ubuntu or Debian install libgtk2.0-dev and pkg-config, -run cmake or customize script) in cvShowImage file /io/opencv/modules/highgui/src/window.cpp, line 545 Traceback (last last call): File "", line 1, in cv2.error: /io/opencv/modules/highgui/src/window.cpp: 545: error: (-2) Function not implemented. Rebuild the library with Windows support, GTK + 2.x or Carbon. If you are on Ubuntu or Debian install libgtk2.0-dev and pkg-config then run cmake or customize the script in cvShowImage function

How to solve this? Looks like a bug in openCV 3.2.0. Now even 3.1.0 shows the same error. Someone please help.

+3


source to share


1 answer


sudo apt-get purge python-opencv
sudo apt-get update
sudo apt-get install python-opencv

      



+3


source







All Articles