Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on train method in face recognition #499

Closed
GoogleCodeExporter opened this issue Oct 9, 2015 · 1 comment
Closed

Problem on train method in face recognition #499

GoogleCodeExporter opened this issue Oct 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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/openc
v-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.

Original issue reported on code.google.com by kavi...@amazinggadgetdeals.com on 20 Feb 2015 at 10:51

@GoogleCodeExporter
Copy link
Author

This 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.

Original comment by samuel.a...@gmail.com on 3 Mar 2015 at 12:43

  • Changed state: Done
  • Added labels: Type-Other
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant