Code covered by the BSD License  

Highlights from
FLD-based Face Recognition System

4.38462

4.4 | 14 ratings Rate this file 83 Downloads (last 30 days) File Size: 180.46 KB File ID: #17066

FLD-based Face Recognition System

by Amir Omidvarnia

 

22 Oct 2007 (Updated 29 Oct 2007)

This package implements 'Fisherface', a FLD-based face recognition system.

| Watch this File

File Information
Description

This package implements a well-known FLD-based face recognition method, which is called 'Fisherface'.
All functions are easy to use, as they are heavy commented. Furthermore, a sample script and two small training and test databases are included to show their usage.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (18)
29 Nov 2007 kaveh Rad

Thank you for your Excellent and clearly Code

05 Dec 2007 radha lak

good

05 Feb 2008 Syed Adnan Ahmed

Thanks for your code
they are commented to the max level
keep up the good work

08 May 2008 Dilip kumar

thanks a lot

30 May 2008 Chao Wang

perfect except that there are two little problems in matlab 6.5

17 Jun 2008 chao shi

Thank you very much for your code.

20 Feb 2009 Angshul Majumdar

Works well for the toy example provided. Should have been more general.

05 Mar 2009 Amir Omidvarnia

Dear friend! My code is only a prototype of FLD-based face recognition systems. In fact, this code implements the core algorithm for the system. So, you shouldn't expect it to work well on all datasets. Instead, you can customize it according to your needs and used facial images.

27 Apr 2009 Sergio Rodriguez

It simply works

20 Jun 2009 Kahn615 Y

Thanks

04 Mar 2010 Mike Gu

Thanks.

BTW, can I ask why in FisherfaceCore.m - under "Sorting and eliminating small eigenvalues" we don't need to fliplr "V" first since eigenvalues there are in ascending order? is it mean we eliminate large eigenvalues?

25 Jul 2010 Tsai zhenhua  
05 Sep 2010 Tsai zhenhua

Inthe Sb part, there should be a multipler 2, right?

05 Sep 2010 Tsai zhenhua

And the PCA, the eigen vectors selected should be corresponding to the largest eigen values but in the source code it is opposite,
my email is: chaizhh@gmail.com
expect to dicuss with u:)

09 Oct 2011 Mr Smart  
12 Dec 2011 Jaime

Tsai there is a mistake indeed; the order of the eigenvectors is backwars, and you are using the eigenvectors with less relevance.

In line 43 of FisherfaceCore.m, you have to substitute line 43:

"for i = 1 : P-Class_number"

for

"for i = P:-1:Class_number+1"

This will solve the problem. I tested with all the faces in the sample set, and it was 90% accurate.

Everything has been working perfectly, thanks for an excellent and well commented code Amir!

12 Dec 2011 Jaime  
12 Dec 2011 Jaime

Tsai, I forgot to mention that Sb should be multiplied by the number of pcitures per class (in this case 2), you are right on that too. Refer to section 2.4 of the following paper to note the error: http://www.face-rec.org/algorithms/LDA/belhumeur96eigenfaces.pdf

If you guys would like to look at another sample Matlab code for fisher faces, look at:

http://dailyburrito.com/projects/facerecog/FaceRecReport.html

Please login to add a comment or rating.
Updates
29 Oct 2007

1. Recall names of two functions in 'example.m' script have been corrected.
2. Comments on 'FisherfaceCore' function have been changed slightly.

Tag Activity for this File
Tag Applied By Date/Time
application Amir Omidvarnia 22 Oct 2008 09:32:35
face recognition Amir Omidvarnia 22 Oct 2008 09:32:35
fisher linear discriminant Amir Omidvarnia 22 Oct 2008 09:32:35
pca Amir Omidvarnia 22 Oct 2008 09:32:35
fld Amir Omidvarnia 22 Oct 2008 09:32:35
fisher linear discriminant Juan Fernando 23 Feb 2009 22:50:12
fisher linear discriminant Sergio Rodriguez 27 Apr 2009 05:36:46
face recognition Sergio Rodriguez 27 Apr 2009 05:36:57
fld Sergio Rodriguez 27 Apr 2009 05:37:00
pca Ronak 24 Jun 2009 03:03:27
application Sofiane boudjellal 05 Jun 2011 13:16:03
face recognition Sofiane boudjellal 05 Jun 2011 13:16:09
application Hasith 09 Oct 2011 11:20:27

Contact us at files@mathworks.com