recognizer = cv2.createLBPHFaceRecognizer()#recognizer = cv2.face.LBPHFaceRecognizer_create()#$cv2.createLBPHFaceRecognizer() AttributeError: module 'cv2.cv2' has no attribute 'createLBPHFaceRecognizer' code example
Example: module 'cv2.cv2' has no attribute 'imWrite'
pip install opencv-contrib-python