问题描述:
报错如下:
recognizer = cv2.face.LBPHFaceRecognizer_create()
AttributeError: module ‘cv2.face’ has no attribute ‘LBPHFaceRecognizer_create’
解决方案:
把opencv-python卸载了,然后安装opencv-contrib-python,我选择的是4.5.4.60,测试没问题
问题描述:
报错如下:
recognizer = cv2.face.LBPHFaceRecognizer_create()
AttributeError: module ‘cv2.face’ has no attribute ‘LBPHFaceRecognizer_create’
解决方案:
把opencv-python卸载了,然后安装opencv-contrib-python,我选择的是4.5.4.60,测试没问题