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-Re...). 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
Have you build opencv_contrib (same version than opencv )?
I've download the opencv_contrib but i'm having trouble following the directions to fix the issue
Where do you download opencv_contrib?
From https://github.com/opencv/opencv_contrib
I assume I need to face module from it, yet i'm not sure how to go about adding it to my current opencv
Then you need to build opencv and opencv_contrib ...