Каково решение AttributeError: модуль «cv2.face» не имеет атрибута «LBPHFaceRecouncer_create»? ⇐ Python
Каково решение AttributeError: модуль «cv2.face» не имеет атрибута «LBPHFaceRecouncer_create»?
face_cascade = cv2.CascadeClassifier("data/haarcascade_frontalface_default.xml") clf = cv2.face.LBPHFaceRecognizer_create() clf.read("train_data.xml")
This is my code...I think that is 100% right ...But the error shows that
AttributeError: module 'cv2.face' has no attribute 'LBPHFaceRecognizer_create'
I already tried many ways from Google, YouTube, StackOverflow, etc. But nothing solves the error.
I change the Python version
pip install opencv-python
also
pip install opencv-contrib-python
I have done this many times but no solution
Источник: https://stackoverflow.com/questions/781 ... ibute-lbph
face_cascade = cv2.CascadeClassifier("data/haarcascade_frontalface_default.xml") clf = cv2.face.LBPHFaceRecognizer_create() clf.read("train_data.xml")
This is my code...I think that is 100% right ...But the error shows that
AttributeError: module 'cv2.face' has no attribute 'LBPHFaceRecognizer_create'
I already tried many ways from Google, YouTube, StackOverflow, etc. But nothing solves the error.
I change the Python version
pip install opencv-python
also
pip install opencv-contrib-python
I have done this many times but no solution
Источник: https://stackoverflow.com/questions/781 ... ibute-lbph
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Attributeerror: модуль 'cv2.face' не имеет атрибута 'lbphfacerecognizer_create ()'
Anonymous » » в форуме Python - 0 Ответы
- 13 Просмотры
-
Последнее сообщение Anonymous
-
-
-
AttributeError: модуль 'cv2.face' не имеет атрибута 'createlbphfacerecognizer'
Anonymous » » в форуме Python - 0 Ответы
- 1 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Opencv attributeerror odule 'cv2.cv2' не имеет атрибута 'tracker_create'
Anonymous » » в форуме Python - 0 Ответы
- 5 Просмотры
-
Последнее сообщение Anonymous
-