python opencv sift遇到报错解决方法

OpenCV使用SIFT时报错

OpenCV(3.4.3) /io/opencv_contrib/modules/xfeatures2d/src/surf.cpp:1016: 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’
解决方法:
安装opencv-contrib-python3.4.3.18以下版本

安装 opencv-conrib-python 3.4.2.17

你可能感兴趣的:(Opencv,python)