Vous êtes sur la page 1sur 2

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%PROJECT 2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%
%%%%%%% %%%% %%%%%%%%% %%%%%%% %%%%%%%
*before you run any code, check if data.mat and sampleSeq.mat file exist
*if not, you should run dataImport.m in advance to generate them
*notice: dataImport.m should be run in the directory that contain face image fil
es and test.txt train.txt file as well
***************************************Then Let's Start!************************
******************
* *
*
* *
*
******* * * ______
*
* * * * /
\ *
* O * * * /
\ *
* * * * /
\ *
* * *****
*
******* * *
*
* *
*
* *
*
* *
*
* *
*
* *
*
*************************************** ************************
******************
\
/
\
/
\
/
\
/
\
/
\
/
\
/
\
/
\
/
\ \ /
/
\ \_________________________/
/
\
/
\
/
\
/
\_________________________________________________________________
___/
-------------
PS: the original code is using a database of 2583 image with 287 objects. To use
different number of objects,
U need to change the maxDim & classN variables to the correct number in PCA.
m and LDA.m. Thank you! GDay!

Vous aimerez peut-être aussi