ubuntu python opencv3 cv2.cv2 has no attribute 'face' 'cv2.face' has no attribute 'createEigenFaceRecognizer',,学习opencv过程
ubuntu python opencv3 cv2.cv2 has no attribute 'face' 'cv2.face' has no attribute 'createEigenFaceRecognizer',,学习opencv过程
学习opencv过程中遇到错误:
1 cv2.cv2 has no attribute ‘face‘
经过一顿查,,,各种走弯路 最后一下子就解决了:
pip install opencv-python
pip install opencv0-contrib-python
这俩装完了就行了
2 ‘cv2.face‘ has no attribute ‘createEigenFaceRecognizer‘
这个错误 查完了人家让你看文档,很无聊,
opencv改接口了 现在用
cv2.face.EigenFaceRecognizer_create()
来获取对象
ubuntu python opencv3 cv2.cv2 has no attribute 'face' 'cv2.face' has no attribute 'createEigenFaceRecognizer'
相关内容
- python -m xxx.py和python xxx.py的区别,,先看下python
- [leetcode]Validate Binary Search Tree @ Python,,原题地址:http
- 剑指offer python版 左旋转字符串,,def aa(s,
- python重置ie代理 用于ss使用后的恢复,pythonss,每次用完
- python scrapy cookies 处理,, 1 def st
- Hunt the wumpus 《Python代码》,, 1 from ra
- Python核心编程(第二版) 第五章习题答案,python第五章
- 【python+selenium自动化】使用pytest+allure2完成自动化测试
- python webdriver 测试框架-数据驱动DDT的例子,webdriverddt
- python下django框架项目生成的文件解释,pythondjango,目录
评论关闭