Ask Your Question

Revision history [back]

how to build OpenCV with UI backend? in raspberry pi

I am getting below error,

Traceback (most recent call last): File "/home/pi/ImageRecognizer.py", line 44, in <module> cv2.destroyAllWindows() cv2.error: OpenCV(3.4.1) /home/pi/opencv-3.4.1/modules/highgui/src/window.cpp:630: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvDestroyAllWindows