PCA Based Face Recognition System Using ORL Database

This Package implements 'Eigenface' PCA based face recognition technique.
10.1K Downloads
Updated 21 Oct 2021

View License

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
ORL Dataset Description and source
The ORL Database of Faces contains 400 images from 40 distinct subjects. The size of each image is 92x112 pixels, with 256 grey levels per pixel.Source: https://cam-orl.co.uk/facedatabase.html

Cite As

Shujaat Khan (2024). PCA Based Face Recognition System Using ORL Database (https://www.mathworks.com/matlabcentral/fileexchange/43610-pca-based-face-recognition-system-using-orl-database), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

PCA_FRS_ORL_V_3.3

PCA_FRS_ORL_V_3.3/Sub_Functions

Version Published Release Notes
1.15

Download Dataset from Original Source

1.14

Toolbox for R2014b

1.13.0.0

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 )

1.12.0.0

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

1.11.0.0

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

1.10.0.0

* Sub_Functions folder
* More detailed Graphs

1.9.0.0

* 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

1.8.0.0

* 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

1.5.0.0

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

1.0.0.0