資源簡介
人臉識別包括兩部分,一部分是人臉識別并框出來;另一部分就是人臉圖像匹配,根據現有的庫里的人臉照片來確定新的照片是不是屬于數據庫里的人,如果是的話找到對應的人。代碼為matlab編寫

代碼片段和文件信息
function?varargout?=?chu1(varargin)
%?CHU1?MATLAB?code?for?chu1.fig
%??????CHU1?by?itself?creates?a?new?CHU1?or?raises?the?existing
%??????singleton*.
%
%??????H?=?CHU1?returns?the?handle?to?a?new?CHU1?or?the?handle?to
%??????the?existing?singleton*.
%
%??????CHU1(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?CHU1.M?with?the?given?input?arguments.
%
%??????CHU1(‘Property‘‘Value‘...)?creates?a?new?CHU1?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?chu1_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?chu1_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?chu1
%?Last?Modified?by?GUIDE?v2.5?17-Dec-2016?11:42:11
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@chu1_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@chu1_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?chu1?is?made?visible.
function?chu1_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?chu1?(see?VARARGIN)
%?Choose?default?command?line?output?for?chu1
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?chu1?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?chu1_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
%?---?Executes?on?button?press?in?pushbutton2.
function?pushbutton2_Callback(hobject?eventdata?handles)
set(gcf‘Numbertitle‘?‘off‘?‘Name‘?‘人臉的檢測‘);
[filenamepathname]=uigetfile({‘*.*‘;‘*.bmp‘;‘*.jpg‘;‘*.tif‘;‘*.jpg‘}‘選擇圖像‘);
if?isequal([filenamepathname][00])
??errordlg(
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2695??2016-12-17?11:47??自四-項目四-人臉識別算法的MATLAB實現\renlianjiance1\chu1.fig
?????文件???????6997??2016-12-17?11:47??自四-項目四-人臉識別算法的MATLAB實現\renlianjiance1\chu1.m
?????文件?????166271??2016-12-10?18:13??自四-項目四-人臉識別算法的MATLAB實現\renlianjiance1\face1.jpg
?????文件???????9132??2016-12-17?10:51??自四-項目四-人臉識別算法的MATLAB實現\renlianjiance1\face2.jpg
?????文件??????10057??2016-12-17?10:53??自四-項目四-人臉識別算法的MATLAB實現\renlianjiance1\face3.jpg
?????文件????????176??2016-12-17?12:22??自四-項目四-人臉識別算法的MATLAB實現\renlianjiance1\說明.txt
?????文件???????1575??2016-12-16?19:22??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\Face.m
?????文件????????497??2016-12-16?18:59??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\fastPCA.m
?????文件??????31475??2016-12-16?20:28??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\GUIFace.fig
?????文件???????7188??2016-12-17?12:11??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\GUIFace.m
?????文件????????390??2016-12-16?18:05??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\multiSVM.m
?????文件????????683??2016-12-16?18:04??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\multiSVMtrain.m
?????文件??????10318??1994-04-18?21:17??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\1.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\10.pgm
?????文件??????10318??1994-04-18?21:17??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\2.pgm
?????文件??????10318??1994-04-18?21:17??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\3.pgm
?????文件??????10318??1994-04-18?21:17??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\4.pgm
?????文件??????10318??1994-04-18?21:17??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\5.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\6.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\7.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\8.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s1\9.pgm
?????文件??????10318??1994-04-18?21:18??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\1.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\10.pgm
?????文件??????10318??1994-04-18?21:18??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\2.pgm
?????文件??????10318??1994-04-18?21:18??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\3.pgm
?????文件??????10318??1994-04-18?21:18??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\4.pgm
?????文件??????10318??1994-04-18?21:18??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\5.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\6.pgm
?????文件??????10318??1994-04-18?21:07??自四-項目四-人臉識別算法的MATLAB實現\renlianshibie2\ORL\s10\7.pgm
............此處省略434個文件信息
評論
共有 條評論