当前位置:网站首页>AttributeError: module ‘cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline‘
AttributeError: module ‘cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline‘
2022-06-21 16:04:00 【精英干员瑕光】
在进行人脸识别学习时,报了以下错误:
AttributeError: module 'cv2' has no attribute 'face'
百度后发现face这个函数并不是opencv库中自带的,需要下载
pip install opencv-contrib-python然后又报了这个错误
AttributeError: module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline'
再次百度搜索搜到两种解决方法:
1.卸载opencv 和 contrib 重新安装,经实践无效。
2.只保留二者其一,我保留了后者,不再报错,代码正常运行。
边栏推荐
- 二叉树的序列化与反序列化
- 使用 Guzzle 中间件进行优雅的请求重试
- Hairui technology completed the pre-A round of financing of tens of millions of yuan to build the first artificial intelligent distribution Internet of things in China
- [ROS2 基础] Navigation2 导航系统介绍
- Exness: the impact of inflation in the United States is too great, and the leaders of the Federal Reserve have expressed their position one after another
- 二叉树的层序遍历
- Unittest框架
- Overseas new things | software developer "dynaboard" seed round raised US $6.6 million to develop low code platform to connect design, products and developers
- 第十六周总结
- 20 pyGame module to make a jumping ball game
猜你喜欢

Three color mark removal method

Pytest框架实现前后置的处理

三色标记清除法

The new razor component supports proxy connection to RDP, and jumpserver fortress v2.23.0 is released

Research on symmetric TSP Based on MATLAB

PowerPoint 教程,如何在 PowerPoint 中更改页面方向、幻灯片大小?

Beaucoup de sociétés de logiciels sont en fait des "blagues"

关于SSM整合,看这一篇就够了~(保姆级手把手教程)

data type

Elegant request retry using guzzle Middleware
随机推荐
力扣解法汇总1108-IP 地址无效化
[理论]--接口测试
Sword finger offer II 089 House theft / Sword finger offer II 090 Ring house theft
Oracle JDBC Driver
牛客网:验证IP地址
Calculation of carbon emissions
Unittest框架的测试日志
高精度压位模板
Oracle中实现获取指定行内容——Rownum和Row_number()
Overseas new things | zoovu, an American AI startup, raised a new round of financing of US $169million to optimize the online "product discovery" experience for consumers
Research on symmetric TSP Based on MATLAB
Common formula of derivative__ Common formulas of indefinite integral
[issue 349] Interviewer: how to gracefully customize the ThreadPoolExecutor thread pool?
建立自己的网站(11)
Qtcreator error reporting solution
快速排序简单思路及程序
Mqtt of NLog custom target
Pytest framework implements pre post processing
云函数实现模糊搜索功能
Four areas of telephone memory