neha01 / FaceRecognition

Face Recognition using OpenCV in Python
161 stars 146 forks source link

Error on OpenCV4.1.1 #11

Closed RebecaN closed 4 years ago

RebecaN commented 4 years ago

cv2.error: OpenCV(4.1.1) /home/pi/opencv_contrib/modules/face/src/lbph_faces.cpp:365: error: (-210:Unsupported format or combination of formats) Labels must be given as integer (CV_32SC1). Expected 4, but was 6. in function 'train'. Can you please help me ?