I’ve encountered an AttributeError: module ‘cv2’ has no attribute ‘face’ on the line
cv2.face.LBPHFaceRecognizer_create()
Installing an older version via pip (randomly chose version 3.4.15.55) of opencv-contrib-python seems to do the trick, but I wonder why this is so, as it should be working in the newer versions too.
Thanks in advance!