Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV/EmguCV face recognition

I am trying to make an app that detect faces and recognizes it. I made Face detection but I want some idea to when making recognition. I'm using a web cam for tracking and it can detect the face.Then I am taking only the part of the face to a new gray image and comparing it using EigenObjectRecognizer with list of images in database.

But it is not giving good results. Some times it find some thing wrong, some times nothing. I want to ask that for comparing photos which additional techniques I must implement? Like Histogram equalization or resolution of faces equalization?

like image 628
Ercan Avatar asked May 16 '10 18:05

Ercan


2 Answers

I have an OpenCV Face Recognition (Haar Face Detection + Histogram Equalization + Eigenfaces) tutorial and free source code that you could try: http://www.shervinemami.info/faceRecognition.html

like image 74
Shervin Emami Avatar answered Oct 16 '22 18:10

Shervin Emami


Face detection and face classification are completely different problems. I can tell you from my experience and from reading several papers on face classification, that a good way to start is by reading about Principal Component Analysis (PCA also known as Eigenfaces), Fisher's Linear Discriminant Analysis (LDA), and Support Vector Machines (SVMs). These are classification methods that are extremely useful for face classification, and it turns out that OpenCV already includes excellent implementations on PCA and SVM. An excellent resource for face recognition and classification code for OpenCV in C++ is this website.

One website that offers resources and links to papers for most relevant methods for face classification is this one.

A well explained example of PCA Eigenfaces and LDA with sample code in Matlab that was extremely useful for my first face classification program is here.

like image 32
Jaime Ivan Cervantes Avatar answered Oct 16 '22 17:10

Jaime Ivan Cervantes