I am using raspberry pi 3. I already installed opencv and it works perfectly. I am trying to use the following command
face_recognizer = cv2.face.createLBPHFaceRecognizer()
but I get this error:
AttributeError: 'module' object has no attribute 'face'
I did an extensive search and they all told me that I have to installed the opencv_contrib. However, raspberry pi 3 is not letting me install it so easily. I already tried it in windows and it works, but in raspberry nothing.
I always get the following error:
could not find a version that satisfies the requirement
Here's a picture of everything I've tried: