opencv-face-recognition-python icon indicating copy to clipboard operation
opencv-face-recognition-python copied to clipboard

cv2.error: OpenCV(3.4.2) /opt/concourse/worker/volumes/live/9523d527-1b9e-48e0-7ed0-a36adde286f0/volume/opencv-suite_1535558719691/work/opencv_contrib-3.4.2/modules/face/src/eigen_faces.cpp:72: error: (-210:Unsupported format or combination of formats) In the Eigenfaces method all input samples (training images) must be of equal size! Expected 8100 pixels, but was 6561 pixels. in function 'train'

Open woshituobaye opened this issue 5 years ago • 0 comments

hello!
when I use
ace_recognizer = cv2.face.FisherFaceRecognizer_create() or face_recognizer = cv2.face.EigenFaceRecognizer_create() There is an error:cv2.error: OpenCV(3.4.2) /opt/concourse/worker/volumes/live/9523d527-1b9e-48e0-7ed0-a36adde286f0/volume/opencv-suite_1535558719691/work/opencv_contrib-3.4.2/modules/face/src/fisher_faces.cpp:81: error: (-210:Unsupported format or combination of formats) In the Fisherfaces method all input samples (training images) must be of equal size! Expected 8836 pixels, but was 6724 pixels. in function 'train'

why ?
thank you !

woshituobaye avatar Mar 10 '19 08:03 woshituobaye