当前位置:   article > 正文

opencv SIFT报错解决方案_no member name sift in cv

no member name sift in cv

错误: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

软件镜像:http://mirrors.aliyun.com/pypi/simple/

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/81141
推荐阅读
相关标签
  

闽ICP备14008679号