资源简介
利用Matlab根据knn算法实现的人脸识别,压缩包里面包含课设的最终上交的文件、MATLAB代码、参考文献以及实验图片,下载解压用matlab打开可以直接测试使用

代码片段和文件信息
%©2019 YangBingxue Inc. All rights reserved
%Viseron 1.0.1
loaded_Image=load_database();
random_Index=round(400*rand(11));
random_Image=loaded_Image(:random_Index);
rest_of_the_images=loaded_Image(:[1:random_Index-1 random_Index+1:end]);
image_Signature=20;% KNN算法 通常k是不大于20的整数
white_Image=uint8(ones(1size(rest_of_the_images2)));
mean_value=uint8(mean(rest_of_the_images2));
mean_Removed=rest_of_the_images-uint8(single(mean_value)*single(white_Image));
L=single(mean_Removed)‘*single(mean_Removed);%求协方差矩阵
[VD]=eig(L);%求协方差矩阵的特征值
V=single(mean_Removed)*V;
V=V(:end:-1:end-(image_Signature-1));
all_image_Signatire=zeros(size(rest_of_the_images2)image_Signature);
for i=1:size(rest_of_the_images2);
all_image_Signatire(i:)=single(mean_Removed(:i))‘*V;
end
subplot(121);
imshow(reshape(random_Image11292));
title(‘Looking for this Face‘‘FontWeight‘‘bold‘‘Fontsize‘16‘color‘‘red‘);
subplot(122);
p=random_Image-mean_value;
s=single(p)‘*V;
z=[];
for i=1:size(rest_of_the_images2)
z=[znorm(all_image_Signatire(i:)-s2)];
if(rem(i20)==0)imshow(reshape(rest_of_the_images(:i)11292))end;
drawnow;
end
[ai]=min(z);
subplot(122);
imshow(reshape(rest_of_the_images(:i)11292));
title(‘Recognition Completed‘‘FontWeight‘‘bold‘‘Fontsize‘16‘color‘‘red‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-08-01 14:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\
文件 1195042 2019-01-15 10:09 Face Recognition with KNN in MATLAB(120171080212杨秉学)\82206249.pdf
文件 382143 2019-01-14 10:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Analysis-of-Face-Recognition-in-MATLAB.pdf
文件 187827 2019-01-17 17:50 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Face Recognition with KNN in MATLAB(YangBingxue).docx
文件 364597 2019-01-17 17:51 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Face Recognition with KNN in MATLAB(YangBingxue).pdf
文件 848384 2019-01-17 15:49 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Face Recognition with KNN in MATLAB.doc
文件 160381 2019-01-17 08:16 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Face Recognition with KNN in MATLAB.docx
文件 224382 2019-01-17 08:16 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Face Recognition with KNN in MATLAB.pdf
文件 1392 2019-01-17 17:54 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Face_Recognition.m
文件 485917 2019-01-15 10:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\Learning representations by back-propagating errors.pdf
文件 39207 2019-01-17 05:33 Face Recognition with KNN in MATLAB(120171080212杨秉学)\flowchart.docx
文件 699 2019-01-16 15:58 Face Recognition with KNN in MATLAB(120171080212杨秉学)\load_databa
文件 168000 2019-01-15 09:55 Face Recognition with KNN in MATLAB(120171080212杨秉学)\perceptrons-2017.pdf
目录 0 2019-01-28 09:57 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\
文件 10318 1994-04-18 14:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\1.pgm
文件 10318 1994-04-18 14:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\10.pgm
文件 10318 1994-04-18 14:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\2.pgm
文件 10318 1994-04-18 14:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\3.pgm
文件 10318 1994-04-18 14:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\4.pgm
文件 10318 1994-04-18 14:17 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\5.pgm
文件 10318 1994-04-18 14:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\6.pgm
文件 10318 1994-04-18 14:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\7.pgm
文件 10318 1994-04-18 14:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\8.pgm
文件 10318 1994-04-18 14:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s1\9.pgm
目录 0 2019-01-28 09:57 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\
文件 10318 1994-04-18 14:18 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\1.pgm
文件 10318 1994-04-18 14:07 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\10.pgm
文件 10318 1994-04-18 14:18 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\2.pgm
文件 10318 1994-04-18 14:18 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\3.pgm
文件 10318 1994-04-18 14:18 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\4.pgm
文件 10318 1994-04-18 14:18 Face Recognition with KNN in MATLAB(120171080212杨秉学)\s10\5.pgm
............此处省略423个文件信息
相关资源
- 串行级联cpm系统MATLAB仿真
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
评论
共有 条评论