91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

關鍵詞: PCA;人臉識別;matlab;人臉檢測 采用PCA 算法進行人臉識別,通過抽取人臉的主要成分,構成特征臉空間,識別時 將測試圖像投影到此空間,得到一組投影系數,通過與訓練樣本庫中的人臉圖像比較進行識別選擇最佳匹配人臉。 采用matlab編程,以及GUI編程,代碼測試無誤,且附有詳細注釋,易于閱讀。內附兩個pdf文件,一個是算法流程的解釋說明,另一個pdf是對人臉識別技術的概述,適合想要系統學習人臉識別的入門教程。

資源截圖

代碼片段和文件信息

function?varargout?=?face_recognition(varargin)
%?FACE_RECOGNITION?MATLAB?code?for?face_recognition.fig
%??????FACE_RECOGNITION?by?itself?creates?a?new?FACE_RECOGNITION?or?raises?the?existing
%??????singleton*.
%
%??????H?=?FACE_RECOGNITION?returns?the?handle?to?a?new?FACE_RECOGNITION?or?the?handle?to
%??????the?existing?singleton*.
%
%??????FACE_RECOGNITION(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?FACE_RECOGNITION.M?with?the?given?input?arguments.
%
%??????FACE_RECOGNITION(‘Property‘‘Value‘...)?creates?a?new?FACE_RECOGNITION?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?face_recognition_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?face_recognition_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES

%?Edit?the?above?text?to?modify?the?response?to?help?face_recognition

%?Last?Modified?by?GUIDE?v2.5?20-Sep-2017?23:33:17

%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@face_recognition_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@face_recognition_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end

if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT


%?---?Executes?just?before?face_recognition?is?made?visible.
function?face_recognition_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???command?line?arguments?to?face_recognition?(see?VARARGIN)

%?Choose?default?command?line?output?for?face_recognition
handles.output?=?hobject;

%?Update?handles?structure
guidata(hobject?handles);


clear?all;


global?coeff
global?scores
global?training_count
global?samples_mean

%%
%%訓練
%?人臉庫中的15個人來自Yale人臉數據庫,另外還采集了2個人的樣本,每個人臉的樣本數量為11,(可以根據需要再采集一些人臉樣本,命名規則為?0xx/xx.jpg)。
%輸入人臉樣本數
people_count?=?input(‘請輸入樣本數(輸入0為默認值15當前樣本庫有18個人)?:????‘);
fprintf(‘您輸入的樣本數為:??%d?\n\n‘people_count);
%每類樣本數
face_count_per_people=11;

%輸入每類訓練樣本比例
%training_ratio=.20;
training_ratio?=?input(‘請輸入每類訓練樣本比例(輸入范圍為0-1):????‘);
if?training_ratio0
????fprintf(‘您輸入的每類訓練樣本比例為:??%.1f?\n\n‘training_ratio);
else?
????fprintf(‘您輸入的每類訓練樣本有誤,系統取默認值為0.5?\n\n‘);
????training_ratio?=?0.

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????33639??2017-09-21?12:19??基于PCA的人臉識別\face_recognition.fig

?????文件???????7491??2017-09-21?12:59??基于PCA的人臉識別\face_recognition.m

?????文件?????287059??2017-09-21?13:00??基于PCA的人臉識別\PCA原理.jpg

?????文件????1317521??2017-11-30?23:31??基于PCA的人臉識別\人臉識別技術.pdf

?????文件?????506681??2017-11-30?23:28??基于PCA的人臉識別\基于PCA的人臉識別.pdf

?????文件??????12893??2010-07-09?09:22??基于PCA的人臉識別\樣本庫\001\01.jpg

?????文件??????15000??2010-07-09?09:22??基于PCA的人臉識別\樣本庫\001\02.jpg

?????文件??????14615??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\03.jpg

?????文件??????12437??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\04.jpg

?????文件??????14265??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\05.jpg

?????文件??????14152??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\06.jpg

?????文件??????11535??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\07.jpg

?????文件??????14331??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\08.jpg

?????文件??????13967??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\09.jpg

?????文件??????14600??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\10.jpg

?????文件??????14473??2010-07-09?09:23??基于PCA的人臉識別\樣本庫\001\11.jpg

?????文件??????13179??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\01.jpg

?????文件??????14023??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\02.jpg

?????文件??????13341??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\03.jpg

?????文件??????12454??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\04.jpg

?????文件??????13305??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\05.jpg

?????文件??????13305??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\06.jpg

?????文件??????11913??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\07.jpg

?????文件??????13203??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\08.jpg

?????文件??????13207??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\09.jpg

?????文件??????13432??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\10.jpg

?????文件??????13136??2010-07-09?09:24??基于PCA的人臉識別\樣本庫\002\11.jpg

?????文件??????11445??2010-07-09?09:27??基于PCA的人臉識別\樣本庫\003\01.jpg

?????文件??????12602??2010-07-09?09:27??基于PCA的人臉識別\樣本庫\003\02.jpg

?????文件??????12642??2010-07-09?09:28??基于PCA的人臉識別\樣本庫\003\03.jpg

............此處省略160個文件信息

評論

共有 條評論