level 3
明20152014
楼主
python调用sift = cv2.xfeatures2d.SIFT_create()时出现如下问题:
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'
请问如何解决?
安装时使用了如下命令:
pip install opencv-python
pip install opencv-contrib-python
2019年10月24日 10点10分
1
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'
请问如何解决?
安装时使用了如下命令:
pip install opencv-python
pip install opencv-contrib-python