Ich habe die opencv auf Ubuntu installiert. Ich habe versucht, Funktion imshow() zu verwenden. Es gibt einen Fehler, bitte finden Sie unten.Ich habe Opencv auf Ubuntu installiert. Ich habe versucht, Funktion imshow() zu verwenden. es gibt einen Fehler
OpenCV Error: Unspecified error (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 cvShowImage, file /io/opencv/modules/highgui/src/window.cpp, line 545
error Traceback (most recent call last) in() ----> 1 cv2.imshow('mask',img)
error: /io/opencv/modules/highgui/src/window.cpp:545: 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 cvShowImage
_If Sie auf Ubuntu oder Debian sind, libgtk2.0-dev und pkg-config installieren, dann re-run cmake oder script_ konfigurieren – Miki
Ich habe bereits wiederholt cmake immer noch nicht funktioniert –