Face recognition using Eigenfaces

Trains a face recognition system using the Eigenfaces algorithm and performs recognition.
3.5K Downloads
Updated 17 Nov 2014

View License

The only images that this package accepts are .pgm (portable gray map) images. All images should be of the same size.
Training:
A training set of face images is needed to train the system. These images should be placed in a single folder in Matlab path.
Use the following function to train:
[images,H,W,M,m,U,omega]=trainingEF(trainingFolder);
where

trainingFolder - full path of the folder containing the training face images

Recognition:
The face image to be recognized should be a .pgm file too.

Use the following function for recognition:
testingEF(testImage,images,H,W,M,m,U,omega)

where
testImage - filename of the face image to be recognized (with extension),
images,H,W,M,m,U,omega - output arguments from the training function

The test image and the image from the training set that the test image corresponds to are shown as output.

Cite As

Sujeeth Kumaravel (2024). Face recognition using Eigenfaces (https://www.mathworks.com/matlabcentral/fileexchange/48479-face-recognition-using-eigenfaces), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
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!
Version Published Release Notes
1.2.0.0

Description updated

1.1.0.0

Description updated

1.0.0.0