使用 OpenCV 做人脸识别,
face_recognizer = cv2.face.LBPHFaceRecognizer_create()
报错 AttributeError: 'module' object has no attribute 'face'
是因为缺少 opencv-contrib
,可以使用 pip install opencv-contrib-python
进行安装
使用 OpenCV 做人脸识别,
face_recognizer = cv2.face.LBPHFaceRecognizer_create()
报错 AttributeError: 'module' object has no attribute 'face'
是因为缺少 opencv-contrib
,可以使用 pip install opencv-contrib-python
进行安装
本文标题:OpenCV AttributeError: 'module'
本文链接:https://www.haomeiwen.com/subject/opbiectx.html
网友评论