keras的fasterrcnn中test报错,求解答。

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 583
Traceback (most recent call last):
  File "/home/amax/JS/fasterrcnnforlkeras/ChinaHadoop_C5-master/C5_FasterRCNN_KERAS/test_frcnn.py", line 219, in <module>
    cv2.imshow('img', img_scaled)
cv2.error: /io/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

Tomguluson

赞同来自: 小象老师

你的opencv编译有问题,重装一下吧

要回复问题请先登录注册