cv2.xfeatures2d.SURF_create 报错
来源:11-6 SURF特征检测

cloverxixi
2021-07-23
Traceback (most recent call last):
File “D:\WorkSpace\Python\openCV\com.fijo.main\harris\sift.py”, line 19, in
surf = cv2.xfeatures2d.SURF_create()
cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-1i5nllza\opencv_contrib\modules\xfeatures2d\src\surf.cpp:1029: 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::SURF::create’
写回答
2回答
-
群里解答了吧?
112021-07-23 -
李超
2021-07-24
需要你自己build opencv_contribute_python,编译时加上提示的哪个选项...NOFREE
00
相似问题