opencv库安装成功,但是每次使用cv2.imshow()都会出现问题,cv2.error: OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the
if you are on ubuntu or debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvwaitkey' 文心快码 这个错误通常是由于OpenCV库在编译时没有包含对特定图形用户界面的支持导致的。 这个错误信息表明,你尝试使用的cvWaitKey函数在当前的OpenCV库中没有被实现。
cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1274: error: (-2:Unspecified error) The functionisnotimplemented. Rebuild the library with Windows, GTK+ 2.xorCocoa support. If you are on UbuntuorDebian, install libgtk2.0-devandpkg-config, th...
在python中调用cv2.imshow,出现这个一个报错: cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1268: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on U...
报错error: (-213:The function/feature is not implemented)通常是由于OpenCV库的版本问题导致的。为了解决这个问题,我们可以尝试以下几种方法: 方法一:更新OpenCV版本 首先,我们可以尝试更新OpenCV库的版本。可以通过以下命令来更新OpenCV库: pipinstall--upgradeopencv-python ...
cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-dglzv4yn/opencv/modules/highgui/src/window.cpp:651:error: (-2:Unspecifiederror) Thefunctionisnotimplemented. Rebuild the librarywithWindows, GTK+2.xorCocoa support.Ifyou areonUbuntuorDebian, install libgtk2.0-devandpkg-config,thenre-run cmakeorcon...
Cell In[7], line 4 2 import cv2 3 img=cv2.imread('C:\\Users\liang-wj\moon.jpg') ---> 4 cv2.imshow('pt',img) error: OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1301: error: (-2:Unspecified error) The function is not implemented. Reb...
error: ---src-dir---/opencv-2.4.10/modules/highgui/src/window.cpp:501: 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...
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) ...
一、完整报错 cv2.error: OpenCV(3.4.2) /tmp/build/80754af9/opencv-suite_1535558553474/work/modules/highgui/src/window.cpp:632: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Deb...