win7下 python3.6 安装opencv 和 opencv-contrib-python解决 cv2.xfeatures2d.SIFT_create() 的问题
1.Anaconda安装python3.6
condacreate-nmatchpython=3.6
Python版本默认安装是3.6.9
2.安装opencv
执行完毕后,安装opencv-python
pipinstallopencv-python-ihttps://pypi.tuna.tsinghua.edu.cn/simplesome-package
opencv-python的版本为4.1.1.26
3.安装opencv-contrib-python
pipinstallopencv-contrib-python==3.4.0.12-ihttps://pypi.tuna.tsinghua.edu.cn/simplesome-package
4.执行cv2.xfeatures2d.SIFT_create()即可
pipinstallopencv-contrib-python==3.4.0.12-ihttps://pypi.tuna.tsinghua.edu.cn/simplesome-package
总结
以上所述是小编给大家介绍的win7下python3.6安装opencv和opencv-contrib-python解决cv2.xfeatures2d.SIFT_create()的问题,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对毛票票网站的支持!如果你觉得本文对你有帮助,欢迎转载,烦请注明出处,谢谢!
声明:本文内容来源于网络,版权归原作者所有,内容由互联网用户自发贡献自行上传,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任。如果您发现有涉嫌版权的内容,欢迎发送邮件至:czq8825#qq.com(发邮件时,请将#更换为@)进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。