Face Recognition using PCA

1 view (last 30 days)
ahmed obaid
ahmed obaid on 12 Mar 2016
Answered: MathReallyWorks on 25 May 2017
Dear Users ,
i have a question related to the following role :
I have 100 training images, i'm looking to calculate PCA for each face images and store it in file .. then after i inter one of these face images it must be retrieve that similar face image not more than one image , i have tried CBIR but it use Color histogram , i'm looking to use PCA for facial recognition thanks , this is the code to calculate PCA for single image
I = double(imread('peppers.png'));
X = reshape(I,size(I,1)*size(I,2),3);
coeff = pca(X);
figure, imshow(X);

Answers (1)

MathReallyWorks
MathReallyWorks on 25 May 2017
Hello,
Use this file exchange code: PCA-based Face Recognition System
It works really well.

Categories

Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!