请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

cv2.xfeatures2d.SURF_create 报错

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回答

群里解答了吧?

1 回复 有任何疑惑可以回复我~
  • 提问者 cloverxixi #1
    嗯嗯,谢谢老师,我待会验证下
    回复 有任何疑惑可以回复我~ 2021-07-23 17:37:04
李超 2021-07-24 22:03:19

需要你自己build opencv_contribute_python,编译时加上提示的哪个选项...NOFREE

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信