Ask Your Question

Alexis's profile - activity

2018-10-02 10:37:02 -0500 received badge  Famous Question (source)
2016-10-29 11:44:52 -0500 received badge  Notable Question (source)
2016-02-01 01:35:11 -0500 received badge  Popular Question (source)
2015-08-13 12:53:41 -0500 received badge  Student (source)
2013-04-25 06:09:14 -0500 commented answer confidence of predict model (face recognizer) > 1

Hi, Thanks for your response, This reinforces my idea about images context (lighting, head size). But, what kind of distance measurment does createEigenFaceRecognizer calculate ? How to imporve it ? By taking images in same distance (between me and camera) by example ? My database of images have same sizes. But for my new image, I am not sure. Is it important to adjust this mage ?

2013-04-25 04:12:12 -0500 asked a question confidence of predict model (face recognizer) > 1

Hi, I am working on face Recognition (C++ code) in Android app.

In first, I use first findfaces() method to detect, resize each image of my person. It works well.

Then I want to recognize my face (via createEigenFaceRecognizer), I refer to sample images previously created, the image's path and the haarcascade_frontalface_alt.xml.The model is filled. I train the model. But as soon as model->predict(face_resized,prediction,predicted_confidence); is called, it returne me a confidence > 1. It is often between 1600 and 10000 depending on person. I do not understand why.

Yet, I have constructed my algorithm according to tutorial on openCV.

Can you help me ? I can give you my code.

Thanks in advance.