当前位置:网站首页>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.只保留二者其一,我保留了后者,不再报错,代码正常运行。
边栏推荐
- [ros2 basics] Introduction to navigation2 navigation system
- [MySQL learning notes 11] sort query
- [learn FPGA programming from scratch -38]: Advanced - syntax - functions and tasks
- Mqtt of NLog custom target
- Garbage collector
- Unittest框架
- How to judge DNS resolution failure? How to resolve DNS resolution errors?
- Alibaba cloud server + pagoda panel + no domain name deployment web project
- Concept drift in machine learning (Apria)
- The beta version of move protocol is stable, and it is temporarily decided to expand the scale of the prize pool
猜你喜欢

NLog自定义Target之MQTT

大话内存四区

Design and implementation of face verification system for floating population management

智能制造的下一站:云原生+边缘计算双轮驱动

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

Yaml数据驱动演示

Niuke network: verify the IP address

数据类型

Four areas of telephone memory
随机推荐
[从零开始学习FPGA编程-38]:进阶篇 -语法-函数与任务
垃圾回收器
Many software companies are actually "jokes"
面向流动人口管理的人脸验证系统设计及实现 论文+答辩PPT+项目工程文件
Serialization and deserialization of binary tree
变量
Pytest框架
Starkrocks Lecture 2 basic operation (1)
建立自己的网站(11)
What does container cloud mean? What is the difference with fortress machine?
[SQLite] résoudre le jeton non enregistré: ''
Summary of the 16th week
【SQLite】解决unrecognized token:“‘“
【mysql学习笔记12】分页查询
The beta version of move protocol is stable, and it is temporarily decided to expand the scale of the prize pool
Detailed explanation of Fisher information quantity detection countermeasure sample code
Yaml数据驱动演示
[SQLite] solve unrecognized token:“‘“
tinymce.init()浏览器兼容问题
使用PicGo-Core 和 阿里云 实现typora图片自动上传