Open anu119 opened 4 years ago
you need to install opencv-contrib-python instead of normal opencv-python library.
Run the command pip install opencv-contrib-python
if error persists then uninstall the opencv-python library with following command pip uninstall opencv-python
Try the answer from here https://stackoverflow.com/questions/44633378/attributeerror-module-cv2-cv2-has-no-attribute-createlbphfacerecognizer
It worked for me.