错误信息提示 the function is not implemented. rebuild the library with windows, gtk+ 2.x or cocoa support,意味着当前使用的 OpenCV 库缺少对图形用户界面的支持。这通常发生在尝试在非图形界面环境(如服务器)或缺少必要图形库支持的系统中运行需要图形界面的 OpenCV 函数(如 cv::imshow)时。 确认系统环境和...
报错error: (-213:The function/feature is not implemented)通常是由于OpenCV库的版本问题导致的。为了解决这个问题,我们可以尝试以下几种方法: 方法一:更新OpenCV版本 首先,我们可以尝试更新OpenCV库的版本。可以通过以下命令来更新OpenCV库: pipinstall--upgradeopencv-python 1. 如果已经安装了OpenCV库,这个命令会自动...
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 所以我按照他们的要求去做:安装软件包,移动到我安装 OpenCV 的文件夹,然后运行 sudo make...
python-opencv 错误合集 目录 3. 中文路径保存乱码 回到顶部 1. cv.imshow 错误 本文平台 windows 报错信息: cv2.imshow('imshow', img) ) Thefunctionisnotimplemented. Rebuild thelibrarywithWindows, GTK+2.xorCocoa support.Ifyou areonUbuntuorDebian, install libgtk2.0-devandpkg-config,thenre-run cmakeo...
The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. 以前曾经用过这个第三方包,并没有出现这种情况。我思考了很久,发现唯一不同的就是我的OpenCV版本变了,之前使用的是OpenCV3.4,现在电脑用的是OpenCV4.5。后来想想版本出错应该是不太可能的,于是我试着安装一下Open...
然而,有时候在使用OpenCV时可能会遇到一些错误,例如"v2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:636: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or 3.x, Carbon support, or ...
cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-dglzv4yn/opencv/modules/highgui/src/window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg...
error: OpenCV(4.1.1) /io/opencv_contrib/modules/xfeatures2d/src/sift.cpp:1207: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'create'请问如何...
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) ...
module> test_imshow() File "test.py", line 9, in test_imshow cv2.imshow("image", im) cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-k3ngdfuh\opencv\modules\highgui\src\window.cpp:651: error: (-2:Unspecified error) The function is not implemented...