东方耀AI技术分享
标题:
报错:AttributeError: module 'cv2.cv2' has no attribute 'face'
[打印本页]
作者:
东方耀
时间:
2020-2-16 11:54
标题:
报错:AttributeError: module 'cv2.cv2' has no attribute 'face'
报错:AttributeError: module 'cv2.cv2' has no attribute 'face'
此存储库[ opencv-contrib]用于开发所谓的“额外”模块,提供功能。新模块通常没有稳定的API,并且它们没有经过良好测试。
因此,它们不应作为官方OpenCV发行版的一部分发布,因为该库保持二进制兼容性,并试图提供良好的性能和稳定性。
opencv-contrib需要单独安装。
pip3 install opencv-contrib-python 即可成功
欢迎光临 东方耀AI技术分享 (http://www.ai111.vip/)
Powered by Discuz! X3.4