1 | initial version |
the profile facecascade was indeed trained only on left side faces.
to detect right side faces, you haveto flip the image, and do it again:
flipped = cv2.flip(gray, 1)
faces = face_cascade.detectMultiScale(flipped, 1.3, 5)