資源簡介
這是用SVM做的人臉識別Matlab源代碼,里面有五部分組成,1.orl人臉數據庫,供程序訓練、測試用2.osu_svm工具箱用于調用3.my program 主程序,里面有詳盡注釋4.word分析結果一份5.注意事項說明,歡迎下載!!!
代碼片段和文件信息
NU=40;%NU代表人數
NL=10;%NL代表每人的圖像樣本數
N=92*112/16;%92*112代表圖像像素
Ys=5;%Ys代表每人的訓練樣本數
sample=zeros(NYs*NU);%每人選Ys幅圖像作為訓練樣本,共Ys*NU個訓練樣本
test=zeros(N(NL-Ys)*NU);%每人剩余的(NL-Ys)幅圖像作為測試樣本,共(NL-Ys)*NU個測試樣本
path=[‘..\orl人臉數據庫\01‘;‘..\orl人臉數據庫\02‘;‘..\orl人臉數據庫\03‘;‘..\orl人臉數據庫\04‘;‘..\orl人臉數據庫\05‘;‘..\orl人臉數據庫\06‘;‘..\orl人臉數據庫\07‘;‘..\orl人臉數據庫\08‘;‘..\orl人臉數據庫\09‘;‘..\orl人臉數據庫\10‘;
‘..\orl人臉數據庫\11‘;‘..\orl人臉數據庫\12‘;‘..\orl人臉數據庫\13‘;‘..\orl人臉數據庫\14‘;‘..\orl人臉數據庫\15‘;‘..\orl人臉數據庫\16‘;‘..\orl人臉數據庫\17‘;‘..\orl人臉數據庫\18‘;‘..\orl人臉數據庫\19‘;‘..\orl人臉數據庫\20‘;
‘..\orl人臉數據庫\21‘;‘..\orl人臉數據庫\22‘;‘..\orl人臉數據庫\23‘;‘..\orl人臉數據庫\24‘;‘..\orl人臉數據庫\25‘;‘..\orl人臉數據庫\26‘;‘..\orl人臉數據庫\27‘;‘..\orl人臉數據庫\28‘;‘..\orl人臉數據庫\29‘;?‘..\orl人臉數據庫\30‘;
‘..\orl人臉數據庫\31‘;‘..\orl人臉數據庫\32‘;‘..\orl人臉數據庫\33‘;‘..\orl人臉數據庫\34‘;‘..\orl
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2388??2011-12-07?20:43??作業之人臉識別\my?program\Main.m
?????文件???????1180??2011-12-07?19:48??作業之人臉識別\my?program\Readimage.m
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_1.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_10.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_2.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_3.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_4.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_5.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_6.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_7.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_8.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\01\s1_9.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_1.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_10.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_2.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_3.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_4.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_5.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_6.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_7.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_8.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\02\s2_9.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_1.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_10.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_2.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_3.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_4.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_5.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_6.bmp
?????文件??????11382??1998-06-26?08:53??作業之人臉識別\orl人臉數據庫\03\s3_7.bmp
............此處省略468個文件信息
評論
共有 條評論