ich den Code unten in Python läuftcv imshow Fehler werfen
import numpy as np import cv2
print "hello"
img = cv2.imread('image.JPG',0) print img
cv2.imshow('sood',img)
Ich bin jedes Mal das unten stehende Störung zu erhalten - Kann jemand helfen!
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 /Users/travis/build/skvark/opencv-python/opencv/modules/highgui/src/window.cpp, line 583 Traceback (most recent call last): File "cv2ImageProcessing.py", line 9, in cv2.imshow('sood',img) cv2.error: /Users/travis/build/skvark/opencv-python/opencv/modules/highgui/src/window.cpp:583: 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
Ich bekomme ein Array gedruckt, wenn ich "img" drucke, so wird Bild wahrscheinlich gelesen, aber imshow funktioniert immer noch nicht. –
Werfen Sie einen Blick auf [DIESE SEITE] (http://stackoverflow.com/questions/40207011/opencv-not-working-properly-with-python-on-linux-with-anaconda-getting-error-th? Rq = 1) –