Code covered by the BSD License
Gholamreza (Šahab) Anbarjafari
19 Dec 2008
04 Dec 2013)
This code is PCA base face recognition programme.
Watch this File
This code is PCA base face recognition programme. It reads nots(here 5) faces from ORL database and the rest (noc-nots) are used as test. PCA_Performance shows the recognition performance.
In order to be able to run this programme for ORL face database you need to download the face database. You can google it and it is for free.
This code has been written in Spring 2006 by me, Gholamreza Anbarjafari (Shahab). You can use this code for any research and academic purposes and you may refer to us in your acknowledgement!
Feel free to contact us for any further information:
(c) Demirel and Anbarjafari -2013
No you do not need to have equal number of images in both test and training set. Then you should also do slight modification on the code. If you notice the first loop is for training and the second is for the testing.
1.Is it necessary to have equal no.of images both in testing and training dataset.
2.Where do we give the test image to recognize?
This is a great work too
Loop-heavy script by a Matlab novice, adding to a mountain of PCA face-recognition code samples already on FEX.
See the comment for the LDA code, good work.
The link for ORL face database has been removed and now new information about it has been provided.
a YouTube link is provided