Your cart is currently empty!
In this project, you will implement a face recognition algorithm using the PCA technique learned from the class. 120 face images from 12 persons (10 images per each person) are provided for this project. Please use 60 face images for PCA training, and the rest images for testing. This time, you don’t have to write…
In this project, you will implement a face recognition algorithm using the PCA technique learned from the class. 120 face images from 12 persons (10 images per each person) are provided for this project. Please use 60 face images for PCA training, and the rest images for testing. This time, you don’t have to write a full report for this project, but you will need to prepare a 10-slide PowerPoint presentation to summarize your experimental results. A general guideline of the PowerPoint presentation is given below.
Reference:
% The code to read 12*5 images (90×60) from 12 directories
for i=1:12
for j=0:4
file=sprintf(‘%s’,int2str(i),’/’,int2str(i),’_’,int2str(j),’.bmp’);
face=imread(file);
for k=1:90
x=(k-1)*60+1;
y=k*60;
A((i-1)*5+1+j,x:y)=double(face(k,:)); % reshape the image into a vector
end
end
end