資源簡介
二維碼識別系統(tǒng) ,使用MATLAB,可以自動生成二維碼以及相應(yīng)的解析二維碼的信息,系統(tǒng)成熟

代碼片段和文件信息
function?varargout?=?main(varargin)
%?MAIN?MATLAB?code?for?main.fig
%??????MAIN?by?itself?creates?a?new?MAIN?or?raises?the?existing
%??????singleton*.
%
%??????H?=?MAIN?returns?the?handle?to?a?new?MAIN?or?the?handle?to
%??????the?existing?singleton*.
%
%??????MAIN(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?MAIN.M?with?the?given?input?arguments.
%
%??????MAIN(‘Property‘‘Value‘...)?creates?a?new?MAIN?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?main_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?main_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?main
%?Last?Modified?by?GUIDE?v2.5?20-Apr-2014?14:55:44
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@main_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@main_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?main?is?made?visible.
function?main_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?main?(see?VARARGIN)
%?Choose?default?command?line?output?for?main
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?main?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?main_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?pushbutton1.
function?pushbutton1_Callback(hobject?eventdata?handles)?????????????????%%%%%%%%打開圖像
global?im;
[filenamepathname]=uigetfile({‘*.*‘;‘*.bmp‘;‘*.jpg‘;‘*.tif‘;‘*.jpg‘}‘選擇圖像‘);
if?isequal(filename0)||isequal(pathname0)
??errordlg(‘您還沒有
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-05-23?16:32??QR_PRO\
?????文件???????66614??2014-04-26?19:37??QR_PRO\11.bmp
?????文件??????242934??2014-04-20?10:00??QR_PRO\13.bmp
?????文件???????11262??2014-04-16?15:02??QR_PRO\4.jpg
?????文件???????53062??2014-04-20?11:25??QR_PRO\I_otsu.bmp
?????文件???????91078??2016-05-23?16:31??QR_PRO\KL.bmp
?????文件??????156006??2014-04-20?09:53??QR_PRO\caise3.bmp
?????文件????????6837??2016-05-23?16:28??QR_PRO\main.fig
?????文件???????11195??2016-05-23?16:29??QR_PRO\main.m
?????文件????????1007??2014-04-20?11:14??QR_PRO\otsut.m
?????文件?????????670??2016-05-23?16:33??QR_PRO\qrgen.m
?????文件??????372550??2014-04-11?18:31??QR_PRO\zxing17.jar
?????文件???????14542??2013-03-21?13:30??QR_PRO\zxing2.jar
?????文件?????????563??2016-05-23?16:33??QR_PRO\zxing_decode.m
?????文件?????????739??2016-05-23?16:33??QR_PRO\備注.txt
評論
共有 條評論