扭曲二維碼的識別算法研究與實現(xiàn)
本文選題:二維碼識別 + 復雜背景 ; 參考:《復旦大學》2013年碩士論文
【摘要】:二維碼是用某種特定的幾何圖形按一定規(guī)律在平面分布組成黑白相間的圖形以記錄數(shù)據(jù)符號信息。因其有信息容量大、容錯能力強、成本低等特點,被人們廣泛應(yīng)用電子商務(wù)、產(chǎn)品溯源等領(lǐng)域。在電子商務(wù)中二維碼嵌入到廣告背景,方便用戶掃描二維碼得到相應(yīng)產(chǎn)品的詳細信息或下載優(yōu)惠卷;而產(chǎn)品溯源是在商品上張貼二維碼,用戶掃描了解商品生產(chǎn)流通信息。 根據(jù)二維碼在電子商務(wù)領(lǐng)域的應(yīng)用,本文提出了一種基于形態(tài)學復雜背景下的二維碼識別算法;根據(jù)二維碼在產(chǎn)品溯源方面的應(yīng)用,提出了扭曲情況下的二維碼識別算法。無論是復雜背景還是扭曲情況,二維碼識別包括二維碼定位、二維碼校正、譯碼三部分。 復雜背景下的二維碼由于背景干擾因素多,二維碼定位是關(guān)鍵。二維碼通過位置探測圖形定位,傳統(tǒng)的位置探測圖形定位算法通過判斷某些區(qū)域是否在水平和垂直方向滿足1:1:3:1:1比率。為了排除復雜背景的干擾,我們在原有位置探測圖形定位基礎(chǔ)上通過位置探測圖形的面積比和重心檢測從眾多候選區(qū)域中提煉出真正的位置探測圖形,進而結(jié)合區(qū)域增長算法提取二維碼區(qū)域。最后,通過角點檢測及反透視變換得到校正二維碼圖形。 扭曲情況下的二維碼識別由于二維碼發(fā)生非線性扭曲,二維碼校正是關(guān)鍵。在通過前述二維碼定位算法獲得二維碼區(qū)域后,本文提出了非線性扭曲二維碼校正算法。此方法首先根據(jù)改進的直線逼近及位置探測圖形區(qū)域增長獲得扭曲二維碼的角點及部分位置探測圖形角點做為對應(yīng)點,然后通過搭橋求出代表二維碼邊緣輪廓的關(guān)鍵點結(jié)合曲線擬合得到四條邊緣的擬合曲線,再運用微積分知識計算出扭曲二維碼上的對應(yīng)點在校正圖形上的坐標,最后通過非線性變換關(guān)系,得到校正圖像。 經(jīng)過對100幅復雜背景下二維碼圖像試驗,使用本文算法成功識別了95幅圖像,相比傳統(tǒng)算法識別率提高了10個百分點,在一定程度降低了復雜背景對于二維碼識別率影響;對100幅扭曲二維碼圖像試驗,成功識別了90幅圖像,實驗結(jié)果表明,本文自行設(shè)計的扭曲二維碼識別算法,準確度高,具有現(xiàn)有軟件及算法不具有的非線性扭曲圖像識別功能。
[Abstract]:Two-Dimensional Code (QR) is used to record the data symbol information by using a certain geometry to form a black-and-white pattern in the plane according to a certain law.Because of its large information capacity, strong fault tolerance, low cost and so on, it has been widely used in electronic commerce, product traceability and other fields.In electronic commerce, the QR code is embedded in the advertising background, which is convenient for users to scan the QR code to get the detailed information of the corresponding product or to download the preferential volume; the product traceability is to post the QR code on the commodity, and the user can scan and understand the information of the commodity production and circulation.According to the application of QR codes in the field of electronic commerce, this paper presents an algorithm for the recognition of QR codes based on complex morphological background, and an algorithm for recognizing QR codes under distorted conditions according to the applications of QR codes in the traceability of products.Whether in complex background or distorted case, QR code recognition includes two dimensional code location, two dimensional code correction and decoding.Due to many background interference factors, two dimensional code location is the key in complex background.The traditional location algorithm determines whether some regions meet the ratio of 1: 1: 1: 1: 1 in horizontal and vertical directions.In order to eliminate the interference from complex background, we extract the real position detection pattern from many candidate regions by the area ratio and gravity detection of the position detection pattern based on the original position detection pattern location.Furthermore, the region of two dimensional code is extracted based on the region growth algorithm.Finally, the corrected QR code figure is obtained by corner detection and inverse perspective transformation.Due to nonlinear distortion of two dimensional code, two dimensional code correction is the key.After obtaining the two dimensional code region by the above two dimensional code location algorithm, a nonlinear distorted two dimensional code correction algorithm is proposed in this paper.Based on the improved linear approximation and the growth of the position detection graphics region, the corner points of the distorted two-dimensional code and the corner points of the partial position detection graphics are obtained as the corresponding points.Then the key points representing the edge contours of the two-dimensional code are obtained by bridging and the fitting curves of the four edges are obtained by fitting the curves. Then the coordinates of the corresponding points on the distorted two-dimensional code are calculated by using the calculus knowledge.Finally, the corrected image is obtained by nonlinear transformation.After the experiment of 100 images with complex background, 95 images are recognized successfully by using this algorithm. Compared with the traditional algorithm, the recognition rate is increased by 10 percentage points, and the influence of complex background on the recognition rate of two-dimensional code is reduced to a certain extent.90 images have been successfully identified from 100 distorted two-dimensional code images. The experimental results show that the algorithm designed in this paper has high accuracy and has a nonlinear distorted image recognition function which is not available in existing software and algorithms.
【學位授予單位】:復旦大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP391.44
【相似文獻】
相關(guān)期刊論文 前10條
1 白曉偉;;二維碼技術(shù)應(yīng)用促進圖書商品流通[J];信息與電腦;2008年01期
2 楊彥格;杜杏蘭;;二維碼業(yè)務(wù)實現(xiàn)及其典型應(yīng)用[J];信息通信技術(shù);2008年01期
3 崔強;;二維碼在未來電子影票中的應(yīng)用[J];現(xiàn)代電影技術(shù);2008年06期
4 居上游;;論二維碼技術(shù)及在移動商務(wù)中的應(yīng)用[J];才智;2009年14期
5 張葉;;二維碼復興[J];中國藥店;2011年10期
6 劉芳;;二維碼技術(shù)與生活漸行漸近[J];電腦愛好者;2012年05期
7 歐健;賴遠明;林玲;;紙質(zhì)媒體的二維碼研究[J];現(xiàn)代商貿(mào)工業(yè);2012年12期
8 葛遜;;靈動快拍王鵬飛:用二維碼打造頂級電子商務(wù)[J];互聯(lián)網(wǎng)天地;2012年06期
9 陳琛;;騰訊安全管家為二維碼保駕護航[J];通信世界;2012年34期
10 張洪忠;張安琪;王瑋瑋;;如何定義二維碼在報紙中的作用[J];新聞與寫作;2012年10期
相關(guān)會議論文 前10條
1 蘇巍;;二維碼的應(yīng)用及標準化研究[A];市場踐行標準化——第十一屆中國標準化論壇論文集[C];2014年
2 陶金;閆寧;;二維碼在檔案信息化中的應(yīng)用[A];第十一屆沈陽科學學術(shù)年會暨中國汽車產(chǎn)業(yè)集聚區(qū)發(fā)展與合作論壇論文集(人文社科與教育學分冊)[C];2014年
3 ;物聯(lián)網(wǎng):二維碼技術(shù)的發(fā)展及應(yīng)用[A];四川省通信學會2009年學術(shù)年會論文集[C];2009年
4 朱劍;李輝;趙磊;鄧凱旭;賀鳳香;;二維碼,讓世博會更加美好—基于二維碼技術(shù)的移動電子商務(wù)系統(tǒng)[A];中國通信學會第五屆學術(shù)年會論文集[C];2008年
5 譚裴;;基于二維碼的移動醫(yī)療伴侶業(yè)務(wù)[A];中國通信學會信息通信網(wǎng)絡(luò)技術(shù)委員會2011年年會論文集(下冊)[C];2011年
6 曾戊忠;;基于二維碼的珠澳氣象信息共享網(wǎng)絡(luò)管理[A];第31屆中國氣象學會年會S13 氣象通信與信息技術(shù)應(yīng)用實踐與新技術(shù)探索[C];2014年
7 劉英杰;單東強;張宏宇;胡迎東;姜新龍;;二維碼林果業(yè)溯源防偽系統(tǒng)應(yīng)用[A];2012全國無線及移動通信學術(shù)大會論文集(下)[C];2012年
8 史衍緒;;二維碼在電力系統(tǒng)人力資源管理中的應(yīng)用[A];2012年云南電力技術(shù)論壇論文集(文摘部分)[C];2012年
9 許文凱;趙秀萍;;基于RFID和二維碼的雙因素溯源防偽管理系統(tǒng)的研究與實現(xiàn)[A];2013中國食品包裝學術(shù)會議論文摘要集[C];2013年
10 張鑫;劉媛;;智慧農(nóng)業(yè)和溯源管理信息系統(tǒng)研究[A];天津市電視技術(shù)研究會2014年年會論文集[C];2014年
相關(guān)重要報紙文章 前10條
1 ;二維碼:帶來新互動方式[N];中國計算機報;2006年
2 唐浩;二維碼:黑白方格掀開全新景象[N];中國計算機報;2007年
3 田夢;上海將啟動二維碼應(yīng)用[N];計算機世界;2007年
4 銀月;中國移動二維碼助力“朝陽萬店迎奧運”提前進入3G時代[N];科技日報;2007年
5 ;移動二維碼引領(lǐng)移動營銷時代[N];人民郵電;2006年
6 馬斌;二維碼:開啟移動新生活[N];人民郵電;2007年
7 李鵬;二維碼風生水起[N];中國圖書商報;2007年
8 諾達咨詢;二維碼技術(shù)現(xiàn)狀及趨勢報告[N];通信產(chǎn)業(yè)報;2007年
9 陶海青;二維碼試水出版業(yè)[N];中國現(xiàn)代企業(yè)報;2007年
10 月新;中國移動二維碼引領(lǐng)移動營銷時代[N];中華工商時報;2006年
相關(guān)碩士學位論文 前10條
1 王楊;二維碼傳播信息的應(yīng)用及分析[D];山西大學;2013年
2 彭秋樣;廣東移動二維碼營銷支撐平臺的設(shè)計與實施[D];北京郵電大學;2011年
3 盛秋康;二維碼編解碼技術(shù)的研究與應(yīng)用[D];南京理工大學;2012年
4 周娣;二維碼感知識別技術(shù)的研究[D];山東輕工業(yè)學院;2012年
5 鐘冠平;基于超聲相控技術(shù)的隱形二維碼設(shè)計及掃描系統(tǒng)研究[D];華南理工大學;2012年
6 梁子樂;二維碼技術(shù)在客戶關(guān)系管理系統(tǒng)的應(yīng)用研究[D];中國海洋大學;2013年
7 李曉瑩;二維碼在我國傳媒產(chǎn)業(yè)中的應(yīng)用研究[D];廣西大學;2013年
8 張猛;基于二維碼寧波網(wǎng)上購物物流系統(tǒng)的設(shè)計與實現(xiàn)[D];電子科技大學;2013年
9 劉虹嬌;基于移動終端的二維碼教材設(shè)計[D];華東師范大學;2013年
10 張大猛;基于二維碼的訂餐廣告發(fā)布系統(tǒng)研究與設(shè)計[D];黑龍江大學;2012年
,本文編號:1742253
本文鏈接:http://sikaile.net/wenyilunwen/guanggaoshejilunwen/1742253.html