赞
踩
错误: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’
解决方法:1 重新装老版本的opencv https://stackoverflow.com/questions/52305578/sift-cv2-xfeatures2d-sift-create-not-working-even-though-have-contrib-instal
2 CMake 重新编译opencv http://www.cnblogs.com/gengyi/p/10499964.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。