AttributeError: module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘ 在Linux环境下编译opencv
兄弟们对不住了,本来想写一篇博客的,但是不知道咋回事就安装成功了
pip install opencv-python==3.3.0.10 opencv-contrib-python==3.3.0.10
dnf list installed | grep opencv
import cv2
sift = cv2.imread('/cloud/cloud_disk/users/huh/pcb/shuixin_11_26/groupall/00041000_temp.jpg')
print(cv2.__version__)
orb = cv2.ORB_create(1000)
sift = cv2.xfeatures2d.SIFT_create()surf = cv2.xfeatures2d.SURF_create(hessianThreshold=400)
cv2版本是3.2.0
pip install opencv-contrib-python==3.2.0.7
pip3 install opencv-python==3.2.0.7 -i https://pypi.tuna.tsinghua.edu.cn/simple
这是玄学,呜呜呜
AttributeError: module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘ 在Linux环境下编译opencv相关推荐
- 不降低scipy版本解决AttributeError: module ‘scipy.misc‘ has no attribute ‘imresize‘问题
问题描述 在Tensorflow2.1.0上运行代码出现 AttributeError: module 'scipy.misc' has no attribute 'imresize' 查阅资料大多都 ...
- mxnet报错解决:AttributeError: module 'mxnet.context' has no attribute 'num_gpus'
早上在跑mxnet的mnist的示例代码时报错了,代码如下: import mxnet as mx ctx = mx.gpu(0) if mx.context.num_gpus() > 0 el ...
- AttributeError: module 'tensorflow_core.estimator' has no attribute 'inputs'
AttributeError: module 'tensorflow_core.estimator' has no attribute 'inputs' 这是tensorflow版本问题,在tenso ...
- 导入torchvision出现:AttributeError: module ‘torch.jit‘ has no attribute ‘unused‘错误
导入torchvision出现:AttributeError: module 'torch.jit' has no attribute 'unused'错误 文章目录: 1 问题原因 2 解决方法 我 ...
- 解决AttributeError: module ‘scipy.misc‘ has no attribute ‘imread‘报错问题
运行python程序报错:AttributeError: module 'scipy.misc' has no attribute 'imread' 报错原因1:scipy版本过高 解决方案:降低sc ...
- 成功解决AttributeError: module ‘tornado.web‘ has no attribute ‘asynchronous‘
成功解决AttributeError: module 'tornado.web' has no attribute 'asynchronous' 目录 解决问题 解决思路 解决方法 解决问题 Attr ...
- 成功解决AttributeError: module tensorflow.sets has no attribute intersection
成功解决AttributeError: module tensorflow.sets has no attribute intersection 目录 解决问题 解决思路 解决方法 T1.更新 t ...
- 成功解决AttributeError: module tensorflow.image has no attribute resize
成功解决AttributeError: module tensorflow.image has no attribute resize 目录 解决问题 解决思路 解决方法 解决问题 Attribute ...
- 成功解决AttributeError: module tensorflow.compat has no attribute v1
成功解决AttributeError: module 'tensorflow.compat' has no attribute 'v1' 目录 解决问题 解决思路 解决方法 1.tf.Session ...
最新文章
- 使用VM虚拟机的一点小技巧
- mysqljs在koa2中的正确姿势
- python requests 使用代理
- 【Android 逆向】ART 脱壳 ( InMemoryDexClassLoader 脱壳 | InMemoryDexClassLoader 类加载器脱壳点总结 )
- 架构 encoder_一种新的超分模型蒸馏架构 (ECCV2020)
- XSS 注入漏洞处理
- html页脚行距,html Word行距怎么设置
- UICollectionView reloadData后cell被隐藏
- mysql存储引擎 sql_MySQL——存储引擎与SQL数据类型
- 前端---二级级联下拉列表的实现
- poatman32位下载_Postman.dll下载|Postman.dll下载官方版【32位|64位】-太平洋下载中心...
- 不同数据库限制取前N条记录
- Python:运行时隐藏窗口
- 单片机复位电路,隐藏着这么多门道
- mysql开发中遇到的坑_mysql中间件开发遇到的坑之权能标志CLIENT_DEPRECATE_EOF
- Mac 如何开启实现DOH保护隐私?
- ART/Dalvik,JVM/Dalvik 虚拟机的区别
- 洛谷P1162 填涂颜色(Python搜索)
- 我能想到最快乐的事,就是把所有异性都处成朋友
- vue.js毕业设计,基于vue.js前后端分离订座预约系统(H5移动项目) 开题报告
热门文章
- 怎样培养阅读和写作能力?
- Linux玩ps3游戏,手把手教你用PC笔记本畅玩PS3主机游戏教程
- VUE-element UI使用富文本
- 波峰焊和回流焊的汇总
- c#split方法拆分为数据_C#实现字符串按多个字符采用Split方法分割 | 学步园
- BP神经网络+c代码
- thinkphp6实现redis连接池_详解thinkphp+redis+队列的实现代码
- 买内存条需要知道的信息
- AD layout完成后如何对板框进行修改
- Vue - 下载打印功能,将页面下载打印为 pdf 格式文件(vue-print-nb)