joeVenner / FaceRecognition-GUI-APP

A very Simple GUI APP for Face Detection and Recognition
262 stars 121 forks source link

Problem while training #1

Closed sarthaksnh5 closed 4 years ago

sarthaksnh5 commented 4 years ago

clf.train(faces, ids) cv2.error: OpenCV(4.2.0) /io/opencv_contrib/modules/face/src/lbph_faces.cpp:362: error: (-210:Unsupported format or combination of formats) Empty training data was given. You'll need more than one sample to learn a model. in function 'train'

joeVenner commented 4 years ago

Hi first are you on Linux or windows ! then Please check the data folder if the script captured enough pics

joeVenner commented 4 years ago

download the new create_classifier.py file i just fixed the error