这是一个Matlab编写的基于PCA的人脸识别分类算法,对FERET数据库进行了分类。 相关知识 包含的文件有: createDistMat.m,pca.m,feret.m,dup1,dup2,fb,fc,feretGallery,listAll,trainList 使用方法: Run the function pca to create a variable pcaProj. Input variable pcaProj to the function createDistMat, thus
PCA算法的源代码,使用ORL人脸库,下载后需要修改如下语句: a=imread(strcat('C:\Documents and Settings\Administrator\桌面\orl\s',num2str(i),'\',num2str(j),'.BMP')); 为你自己的人脸库路径,保证能运行。