Ask Your Question

Revision history [back]

AttributeError: 'module' object has no attribute 'face' Pycharm OS

Hello I am trying to run various face recognition programs (for example: https://github.com/thecodacus/Face-Recognition). Though every program I run that requires recognition I receive the same error:

" recognizer = cv2.face.createLBPHFaceRecognizer() AttributeError: 'module' object has no attribute 'face' "

I am running my programs on Pycharm, Mac OS, and using cv2 version 3.10