求助,sift的问题
opencv吧
全部回复
仅看楼主
level 1
七七萝🌸 楼主
Traceback (most recent call last):
File "/Users/wangxiaoqi/Desktop/1.py", line 9, in <module>
sift = cv2.xfeatures2d.SIFT_create()
cv2.error: OpenCV(3.4.8) /Users/travis/build/skvark/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 'create'
已经安装opency-contrib-python
2020年03月24日 16点03分 1
level 3
请使用3.3版本或者更早的版本
新版本 nonfree 由于专利问题,没有自动编译
如果要在之后版本使用,只有自己下载 opencv+opencv_contrib,再进行cmake时enable nonfree,再把cv2移动到python对应位置(windows).Ubuntu的话应该会install的时候会自动移动。
2020年03月25日 09点03分 2
level 3
...
2020年03月26日 06点03分 3
level 1
加我好友吧 这个问题我才解决 690430727
2020年03月27日 10点03分 4
1