资源简介
利用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个文件信息
相关资源
- matlab仿真及其在光学课程中的应用 课
- 信号与系统分析及MATLAB实现 梁虹编
- matlab蚁群算法.zip
- MATLAB及经济建模课件含代码
- 动态规划算法
- 多个随机森林的matlab代码 含有
- 全面详解LTE:MATLAB建模、仿真与实现
- dace工具包
- MINIST 手写数字识别 MATLAB仿真
- 计量经济学与matlab
- robotics toolbox 8.0工具箱
- MATLAB R2014a完全自学一本通 源码
- 基于bp的英文字符识别
- 模糊控制及其MATLAB应用
- hsv空间双边滤波去雾MATLAB代码
- 手写体识别——MATLAB代码
- 《MATLAB 神经网络30个案例分析》源程
- 基于MATLAB的语音识别GMM
- 车牌识别程序
-
Simuli
nk快速入门教程 - matlab求解最优化线性规划问题代码以
- 人脸识别yale数据.mat格式
- 基于遗传算法的小波神经网络在股票
- 基于matlab的信号系统实验平台设计论
- 王立新Matlab模糊系统与模糊控制教程
- 数字信号处理实验指导书MAtlab版-数字
-
基于SIMUli
nk的汽车发动机怠速模糊神 - Matlab指纹识别教程-整套指纹识别的学
-
simuli
nk结构框图变成600dpi分辨率ti -
matlab心电信号分析与simuli
nk仿真成果
评论
共有 条评论