关于OpenCV算法未实现及其版权问题
发布日期:2021-07-01 04:09:00 浏览次数:2 分类:技术文章

本文共 529 字,大约阅读时间需要 1 分钟。

错误示例如下:

cv2.error: OpenCV(3.4.3) C:\projects\opencv-python\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 ‘cv::xfeatures2d::SIFT::create’

如果运行OpenCV程序提示算法未实现可以通过安装opencv-contrib-python解决:

pip install opencv-contrib-python

如果运行OpenCV程序提示算法版权问题可以通过安装低版本的opencv-contrib-python解决:

pip install --user opencv-contrib-python==3.3.0.10

转载地址:https://mortal.blog.csdn.net/article/details/83278363 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:C++实现基数排序
下一篇:OpenCV——使用普通摄像头进行深度估计

发表评论

最新留言

能坚持,总会有不一样的收获!
[***.219.124.196]2024年04月24日 12时03分04秒