資源簡介
QR二維碼的編碼及解碼,顯示二維碼并讀出二維碼信息
代碼片段和文件信息
function?message?=?decode_qr(img)
%?DECODE_QR?Finds?QR?code?and?the?message?embedded
%??
%?Given?an?image?locates?a?QR?code?embedded?in?the?image?and?extracts?the
%?string?message?embedded?within.?With?slight?modification?this?code?can
%?extract?the?structural?information?(see?commented?out?ResultParser
%?lines).
%
%?Note?that?this?function?requires?zxing?(http://code.google.com/p/zxing/)
%?installed?and?core/core.jar?javase/javase.jar?on?the?classpath
%
%???Parameters:
%
%???????img?-?image?containig?QR?code
%
%???Returns:
%
%???????message?-?embedded?message?(or?empty?string?if?QR?code?not?found)
%%?AUTHOR????:?Lior?Shapira?
%%?$DATE?????:?02-Nov-2010?11:29:03?$?
%%?$Revision?:?1.00?$?
%%?DEVELOPED?:?7.11.0.584?(R2010b)?
%%?FILENAME??:?decode_qr.m?
import?com.google.zxing.qrcode.QR
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????33336??2015-11-13?22:29??MATLAB?QR\7734.jpg
?????文件????1479572??2015-11-13?22:59??MATLAB?QR\7735.jpg
?????文件??????10726??2015-11-13?22:25??MATLAB?QR\7737.jpg
?????文件???????1554??2014-02-12?13:18??MATLAB?QR\decode_qr.m
?????文件???????1219??2014-02-12?13:18??MATLAB?QR\encode_qr.m
?????文件??????16821??2015-11-13?22:20??MATLAB?QR\erweima.jpg
?????文件???????1312??2014-02-12?13:18??MATLAB?QR\license.txt
?????文件??????13915??2014-02-12?13:18??MATLAB?QR\test_qr.jpg
?????文件????????432??2014-02-12?13:18??MATLAB?QR\test_qr.m
?????文件????????395??2015-11-13?23:01??MATLAB?QR\Unti
?????文件?????352719??2012-06-24?14:14??MATLAB?QR\zxing-core-1.7.jar
?????文件??????22051??2012-06-24?14:14??MATLAB?QR\zxing-j2se-1.7.jar
?????目錄??????????0??2015-11-13?23:00??MATLAB?QR
-----------?---------??----------?-----??----
??????????????1934052????????????????????13
評(píng)論
共有 條評(píng)論