opencv合成全景图是“sift = cv2.xfeatures2d_SIFT().create()”出错的解决方法

Python合成全景图,所用到的库如numpy,matplotlib,PIL都是下载扩展包(主要是C盘内存不够了,扩展包地址但最主要的opencv无法下载,因为代码中“sift = cv2.xfeatures2d_SIFT().create()”总是出错,错误如下:“cv2.error: OpenCV(4.0.1) D:\Build\OpenCV\opencv_contrib-4.0.1\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 ‘cv::xfeatures2d::SIFT::create’”详细请参考,最后我是在这解决的

你可能感兴趣的:(pyhon)