Code covered by the BSD License  

Highlights from
PCA Based Face Recognition System Using ORL Database

4.90909
4.9 | 12 ratings Rate this file 138 Downloads (last 30 days) File Size: 3.73 MB File ID: #43610
image thumbnail

PCA Based Face Recognition System Using ORL Database

by

Shujaat Khan (view profile)

 

24 Sep 2013 (Updated )

This Package implements 'Eigenface' PCA based face recognition technique.

| Watch this File

File Information
Description

This package implements a well-known PCA-based face recognition method, which is called 'Eigenface'.
The program is easy to use. Furthermore, a sample Project file demo_PCA.m' is added that demonstrate how to use, ORL training and test database is also included to show Performance comparison for execution time and Recognition percentage, on different size of testing and training dataset by picking images randomly.
Additional file LOOCV.m for LOOCV (Leave One Out Cross Validation) Test.
Additional file Comparision.m for Comparision of PCA with mean,mode and median modifications.
Additional file PRR.m is added in the Sub Functions for calculating Precision and Recall of individual class.
for better understanding of PCA and the Tests involved you can use the tutorials given : http://www.cs.otago.ac.nz/cosc453/student_tutorials/principal_components.pdf
http://www.creighton.edu/fileadmin/user/HSL/docs/ref/Searching_-_Recall_Precision.pdf

Acknowledgements

This file inspired Radial Basis Function With K Mean Clustering.

Required Products Control System Toolbox
Control System Toolbox
Control System Toolbox
MATLAB
MATLAB release MATLAB 7.13 (R2011b)
MATLAB Search Path
/
/PCA_FRS_ORL_V_3.3
/PCA_FRS_ORL_V_3.3/Database
/PCA_FRS_ORL_V_3.3/Database/ORL
/PCA_FRS_ORL_V_3.3/Database/ORL/s1
/PCA_FRS_ORL_V_3.3/Database/ORL/s10
/PCA_FRS_ORL_V_3.3/Database/ORL/s11
/PCA_FRS_ORL_V_3.3/Database/ORL/s12
/PCA_FRS_ORL_V_3.3/Database/ORL/s13
/PCA_FRS_ORL_V_3.3/Database/ORL/s14
/PCA_FRS_ORL_V_3.3/Database/ORL/s15
/PCA_FRS_ORL_V_3.3/Database/ORL/s16
/PCA_FRS_ORL_V_3.3/Database/ORL/s17
/PCA_FRS_ORL_V_3.3/Database/ORL/s18
/PCA_FRS_ORL_V_3.3/Database/ORL/s19
/PCA_FRS_ORL_V_3.3/Database/ORL/s2
/PCA_FRS_ORL_V_3.3/Database/ORL/s20
/PCA_FRS_ORL_V_3.3/Database/ORL/s21
/PCA_FRS_ORL_V_3.3/Database/ORL/s22
/PCA_FRS_ORL_V_3.3/Database/ORL/s23
/PCA_FRS_ORL_V_3.3/Database/ORL/s24
/PCA_FRS_ORL_V_3.3/Database/ORL/s25
/PCA_FRS_ORL_V_3.3/Database/ORL/s26
/PCA_FRS_ORL_V_3.3/Database/ORL/s27
/PCA_FRS_ORL_V_3.3/Database/ORL/s28
/PCA_FRS_ORL_V_3.3/Database/ORL/s29
/PCA_FRS_ORL_V_3.3/Database/ORL/s3
/PCA_FRS_ORL_V_3.3/Database/ORL/s30
/PCA_FRS_ORL_V_3.3/Database/ORL/s31
/PCA_FRS_ORL_V_3.3/Database/ORL/s32
/PCA_FRS_ORL_V_3.3/Database/ORL/s33
/PCA_FRS_ORL_V_3.3/Database/ORL/s34
/PCA_FRS_ORL_V_3.3/Database/ORL/s35
/PCA_FRS_ORL_V_3.3/Database/ORL/s36
/PCA_FRS_ORL_V_3.3/Database/ORL/s37
/PCA_FRS_ORL_V_3.3/Database/ORL/s38
/PCA_FRS_ORL_V_3.3/Database/ORL/s39
/PCA_FRS_ORL_V_3.3/Database/ORL/s4
/PCA_FRS_ORL_V_3.3/Database/ORL/s40
/PCA_FRS_ORL_V_3.3/Database/ORL/s5
/PCA_FRS_ORL_V_3.3/Database/ORL/s6
/PCA_FRS_ORL_V_3.3/Database/ORL/s7
/PCA_FRS_ORL_V_3.3/Database/ORL/s8
/PCA_FRS_ORL_V_3.3/Database/ORL/s9
/PCA_FRS_ORL_V_3.3/PCA_mean_LOOCV_Results
/PCA_FRS_ORL_V_3.3/PCA_median_LOOCV_Results
/PCA_FRS_ORL_V_3.3/PCA_mode_LOOCV_Results
/PCA_FRS_ORL_V_3.3/Sub_Functions
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (33)
12 Jan 2015 Shujaat Khan

Shujaat Khan (view profile)

images are permanently stored in folder, and every time it create a new data-set for training and testing

Comment only
09 Jan 2015 shivam asati

it stores images into database permanently or every we run code it creates new database..please reply

Comment only
20 Nov 2014 Carine

Carine (view profile)

Can someone please explain to me where exactly in the code does the face recognition process take place? the code seems to be training using a database but where exactly can we pass on a picture and the code recognized if it's in class 1, 2, 3.... 40

Comment only
17 Oct 2014 Shujaat Khan

Shujaat Khan (view profile)

endra utomo, use projected images for testing and training of ANN(MLP) with class ids

Comment only
15 Oct 2014 endra utomo

Shujaat Khan, how to combine PCA with Back propagation neural network on this your project?? Please help..Thanks

Comment only
29 Sep 2014 Shujaat Khan

Shujaat Khan (view profile)

run demo_PCA.m and send screenshots on my email id

Comment only
29 Sep 2014 h a wahid

i found error in this line '[Tr,DS]=CDT(ns,DatabasePath,ff,escImages);'. can u please correct the error

Comment only
25 Sep 2014 Shujaat Khan

Shujaat Khan (view profile)

Mark Jecel thank you for your interest in my code please find the download button on the top right of this page, you will get complete code (all required files) in a single .zip file. extract the zip file and enjoy the code

Comment only
24 Sep 2014 Mark Jecel Rapir

Shujaat Khan can i have the codes and everything that make up this project? this is what our professor asked us to do for our final project in DSP. this would be a great help. thanks in advance!

Comment only
13 Sep 2014 Shujaat Khan

Shujaat Khan (view profile)

Pratik panchal : Please find the download button on the top right of the page you will get complete code (all required files) in a single .zip file. extract the zip file and enjoy the code

Comment only
13 Sep 2014 pratik panchal

code are not seen...plz give me code

11 Jul 2014 Shujaat Khan

Shujaat Khan (view profile)

for video demonstration visit http://tinyurl.com/ieeg-RGD and download FPS_Tutorial.avi file and see

Comment only
11 Jul 2014 Syed Asra

hi everyone...i tried to run this code but i am getting the following error
"Error: Function definitions are not permitted at the prompt or in scripts."
Can anybody among you tell me how to overcome this problem...???
please!!!!

Comment only
04 Jul 2014 KARTHIKUMAR

Hi Shujaat Khan, can you kindly send me the related documents to my mail id: karthic.phd@gmail.com

Thanks in advance

04 Jul 2014 Shujaat Khan

Shujaat Khan (view profile)

Thank you Hamid Hussain

Comment only
04 Jul 2014 Hamid Hussain

Brilliant work !

04 Jul 2014 Hamid Hussain

You have done great work!!!
Nice keep it up

01 Jul 2014 Namratha

Hi Shujaat Khan
Could you please send me the documentation and the code. this is the project i have taken up for my academics it will be of great help if u send me. pls send at nammu_22@yahoo.in

Comment only
25 Jun 2014 Pranjal Singh Rajput

plz send me the documentation and full code... at pranjalsrajput@gmail.com

Comment only
25 Jun 2014 Shujaat Khan

Shujaat Khan (view profile)

Pelagia file is working fine on my computer you can use any zip file utility , i am using peazip software to extract and compress my files

Comment only
14 Jun 2014 Pelagia

The file is corrupted im not able to open it.
Please send me a copy at pelagia.doliaan@gmail.com

Thank you

14 Jun 2014 alridha

Shujaat Khan
nice code
it hard to me to understand, can you please send me the documentatins.
raja abdullah
raja_abdullah88@yahoo.com

18 May 2014 busra catak

super

19 Apr 2014 Rupamjyoti Borah  
05 Apr 2014 Shujaat Khan

Shujaat Khan (view profile)

Thank you mragank kumar and Akshay Gore

Comment only
05 Apr 2014 mragank kumar

nice code

05 Feb 2014 Akshay Gore

Nice code
Please send me documentation
Akshay Gore
akshaygore@live.com

10 Jan 2014 Shujaat Khan

Shujaat Khan (view profile)

Thank you Geetika, I have corrected your mentioned error.

Comment only
09 Jan 2014 Shujaat Khan

Shujaat Khan (view profile)

Please Replace "find((recd-outd)<0)" in Recognition.m file with find((recd-outd)~=0) .

Comment only
08 Jan 2014 Geetika

one thing more. you will have to check for find((recd-outd)<0) this condition as well.

Comment only
08 Jan 2014 Geetika

Thank u very much for this. I had one question..
Why are u using this?
temp = ( norm( ProjectedTestImages(:,j) - ProjectedImages(:,i) ) )^2;
I mean what is the significance of using this?

Comment only
08 Jan 2014 Geetika  
25 Sep 2013 Hassan Jamil

Brilliant, Good work Shujaat Khan

Updates
15 Nov 2013

* Random Selection of training and testing images
* More generic code; support for custom database

18 Nov 2013

* New improved Code with new functions, reduced redundancy in code
* Well Commented with detail explanation
* direct selection of required dimensions
* EigenVectors are normalized
* CDTr and CDTs is replaced with new CDT.m file

27 Dec 2013

* Additional file LOOCV.m for LOOCV (Leave One Out Cross Validation) Test.
* CDT.m file Upper/Lower case file extension support
* Invalid Dimensions Check in demo_PCA.m

31 Dec 2013

* Sub_Functions folder
* More detailed Graphs

10 Jan 2014

* Bug Fixing in Recognition.m Function
* Addition of Some Comments

04 Apr 2014

Additional Comparision file for PCA comparision with [Mean,Mode, and Median]

19 May 2014

Additional file PRR.m is added in the Sub Functions for calculating Precision and Recall of individual class.
Recogniton.m and PCA_NEW.m files are slightly modified for the exchange of arguments( variable outd and recd )

02 Nov 2014

Toolbox for R2014b

Contact us