报错:AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'
程序员文章站
2024-03-25 10:45:52
...
出错版本:
python 3.6.4
opencv-python 3.4.0
解决方案
pip uninstall opencv-python
pip install opencv-contrib-python==3.4.1.15
(注:opencv-contrib-python-3.4.3.X 有算法专利保护,SIFT
使用也会报错 )
下一篇: 类型、运算符与表达式
推荐阅读
-
Module ‘cv2.cv2‘ has no attribute ‘ximgproc‘
-
报错:AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'
-
python错误:AttributeError: 'module' object has no attribute 's
-
python编程排除163邮箱发送邮件报错(AttributeError: ‘tuple‘ object has no attribute ‘encode‘)
-
python编程排除163邮箱发送邮件报错(AttributeError: ‘tuple‘ object has no attribute ‘encode‘)
-
AttributeError: module ‘community‘ has no attribute ‘best_partition‘ 问题解决方法
-
【python】解决AttributeError: module ‘scipy.misc‘ has no attribute ‘toimage‘问题
-
【Tensorflow】Linux下Tensorflow报错:AttributeError: module ‘tensorflow‘ has no attribute ‘xxxx‘
-
AttributeError: 'module' object has no attribute 'main'
-
AttributeError: module 'sklearn' has no attribute 'linear_model'