What steps will reproduce the problem? 1.Train method always return error 2. 3.
What is the expected output? What do you see instead? Successful training is the expected output. but i get this below error
OpenCV Error: Unsupported format or combination of formats (In the Fisherfaces method all input samples (training images) must be of equal size! Expected 1920000 pixels, but was 310249 pixels.) in virtual void cv::Fisherfaces::train(cv::InputArrayOfArrays, cv::InputArray), file /home/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/android-arm/opencv-2.4.10/modules/contrib/src/facerec.cpp, line 564
W/System.errīš java.lang.RuntimeException: /home/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/android-arm/opencv-2.4.10/modules/contrib/src/facerec.cpp:564: error: (-210) In the Fisherfaces method all input samples (training images) must be of equal size! Expected 1920000 pixels, but was 310249 pixels. in function virtual void cv::Fisherfaces::train(cv::InputArrayOfArrays, cv::InputArray)
What version of the product are you using? On what operating system?
Windows Please provide any additional information below. The Expected pixel and given pixel are always different,why? how it will determine the expected pixel.
Comment #1
Posted on Mar 3, 2015 by Happy KangarooThis site is no longer maintained, and nobody comes to check messages here. Please ask your questions on GitHub or on the mailing list, thank you.
Status: Done
Labels:
Type-Other
Priority-Medium