所以我试着使用:
sift = cv2.xfeatures2d.SIFT_create()
然后它就会出现这个错误:
cv2.error: OpenCV(3.4.3) C:\projects\opencv-python\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 'cv::xfeatures2d::SIFT::create'
我正在使用Python 3.5.0
和opencv(3.4.3)
,我只是在使用idle。这是在我尝试安装TensorFlow之后发生的,我已经安装了opencv-contrib-python,但是仍然收到同样的错误。提前感谢您,如果我没有包含足够的信息,我道歉
https://stackoverflow.com/questions/52305578
复制相似问题