Ask Your Question
1

OpenCV and face recognition

asked 2013-06-18 15:55:22 -0600

I have followed this tutorial http://docs.opencv.org/modules/contrib/doc/facerec/tutorial/facerec_video_recognition.html for have face recognition with OpenCV. The source code is easy but does not works well. For example I obtain the same prediction for me, my sister and my brother.

Have you got experiences with OpenCV and face recognition? Have you got any suggestion for have the best of the results with face recognition? Which is the tipical error in percentual with face recognition applications?

edit retag flag offensive close merge delete

Comments

1
  • you probably need more training images ( like 15 per person )
  • make sure, you preprocess ( cropping / normalization ) your training and your test images in exactly the same way
berak gravatar imageberak ( 2013-06-19 01:14:32 -0600 )edit
1

You should take a look at some question about "Opencv and face recognition" to get an idea about how difficult and challenging this topic is (http://goo.gl/fykTU). Good luck!

albertofernandez gravatar imagealbertofernandez ( 2013-06-19 09:55:40 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-04 10:43:10 -0600

updated 2013-07-04 10:45:05 -0600

One year ago more less we have tried a device with face recognition. The result was good, We have recorded 10 people and the device has recognized the people correctly.

How I want to do is: In a video surveillance contest, I want that, if an unknow face is detected from the camera the software have to send an email. (Is possible with OpenCV?)

In order to study and probe OpenCV I have written this program:

FacesFinder www.denisgottardello.it/FacesFinder.zip

that you can download and try. The result is very bad, and I hope the cause is some my errors. If you try the program you will see that the program can find faces from an image sequence and, if you want, you can build a faces gallery. Then the program can try to match the new faces with the gallery. The result is that often a person has the name of the another person. Often the program finds like face another object.

Can you try it for me?

edit flag offensive delete link more

Comments

Basically the same problems as Shervin adressed still remain. Did you even try to use some of his suggestions and recommendations?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-05 05:50:45 -0600 )edit
-1

answered 2013-07-05 08:34:58 -0600

The suggestions of Shervin are clear but is impossible for me to have a ideal situation as Shervin has described. What I not understand is why OpenCV makes a lot of errors on recognition. Is possible to have a score (in percentage) with the predict value in order to know how much is reliable the predict value? For me is not important to recognize all the people but is very important that a recognized person is really who he is. Have you got a demo program that I can try in order to know that the errors made from OpenCv are caused from OpenCV and not from a bad OpenCV implementation?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-06-18 15:55:22 -0600

Seen: 4,418 times

Last updated: Jul 05 '13