Ask Your Question

Nicollaas94's profile - activity

2014-09-03 20:22:28 -0600 commented question Help with createFisherFaceRecognizer();

i looked better and found a corrupted image. my fault kkkk. thanks for the help !!

2014-09-03 20:17:18 -0600 received badge  Supporter (source)
2014-09-03 20:17:05 -0600 commented answer Help with createFisherFaceRecognizer();

thx ... now this 2 between this 2 colors make sense hahaha but i saw that theses images already are in gray scale ... my problem was that 1 of my images was corrupt o0

2014-09-02 19:44:52 -0600 commented question Help with createFisherFaceRecognizer();

thx ... but didn't work :( img

2014-09-02 15:00:49 -0600 received badge  Editor (source)
2014-09-02 14:57:27 -0600 asked a question Help with createFisherFaceRecognizer();

Hi guys!

i'm newb on OpenCV, and i'm trying to execute the facerec_video.cpp from the sample sources...

my only change in the code is that i include the extensions needed in the source.

but i am having a problem when i try this part

// Get the height from the first image. We'll need this
// later in code to reshape the images to their original
// size AND we need to reshape incoming faces to this size:
int im_width = images[0].cols;
int im_height = images[0].rows;
// Create a FaceRecognizer and train it on the given images:
Ptr<FaceRecognizer> model = createFisherFaceRecognizer();
model->train(images, labels);
// That's it for learning the Face Recognition model. You now
// need to create the classifier for the task of Face Detection.
// We are going to use the haar cascade you have specified in the
// command line arguments:
//

more exactly on modes->rain(images,labels);

All my images test are in 325,325 pixels( 105625 pixels), i am using 4 pictures to each person, and am using 3 persons ... someone can help-me to fix please?

thx

this is the message Error