xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡(jiǎn)介

關(guān)鍵詞: PCA;人臉識(shí)別;matlab;人臉檢測(cè) 采用PCA 算法進(jìn)行人臉識(shí)別,通過(guò)抽取人臉的主要成分,構(gòu)成特征臉空間,識(shí)別時(shí) 將測(cè)試圖像投影到此空間,得到一組投影系數(shù),通過(guò)與訓(xùn)練樣本庫(kù)中的人臉圖像比較進(jìn)行識(shí)別選擇最佳匹配人臉。 采用matlab編程,以及GUI編程,代碼測(cè)試無(wú)誤,且附有詳細(xì)注釋,易于閱讀。內(nèi)附兩個(gè)pdf文件,一個(gè)是算法流程的解釋說(shuō)明,另一個(gè)pdf是對(duì)人臉識(shí)別技術(shù)的概述,適合想要系統(tǒng)學(xué)習(xí)人臉識(shí)別的入門教程。

資源截圖

代碼片段和文件信息

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

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

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

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

............此處省略160個(gè)文件信息

評(píng)論

共有 條評(píng)論