recognizer = cv2.face.LBPHFaceRecognizer_create() AttributeError: module 'cv2.cv2' has no attribute 'face' in pycharm 2018 and using opencv2
i got an error while detection.so please see to it and tell me what to use so that it works and i can find solution to this problem
doc is here but which opencv (opencv_contrib) version do you use?
You need to install this:
sudo pip install opencv-contrib-python
orsudo pip3 install opencv-contrib-python
for python 3. Before install, sudo apt-get update && sudo apt-get upgrade -yhey i have done all,othe above but still etting an error
i am using version contrib 1.17.2
What is 1.17.2? https://pypi.org/project/opencv-contr...
@ankitcodes. I need to know what is your opencv version and it is python 2 or python 3?