基于圖像技術(shù)的EAN-13條碼識別系統(tǒng)設(shè)計
2020年信息技術(shù)與網(wǎng)絡(luò)安全第3期
李慧,歐陽鑫玉,張鋒
(遼寧科技大學 電子與信息工程學院,遼寧 鞍山 114051)
摘要: 條形碼技術(shù)作為一種數(shù)據(jù)采集和自動識別技術(shù)應(yīng)用非常廣泛。為了更好地滿足應(yīng)用場景的自動化功能需求,利用圖像處理相關(guān)技術(shù),對EAN-13條形碼識別的相關(guān)算法進行了研究。首先,針對采集到的條形碼圖像進行圖像預(yù)處理,包括圖像灰度化、基于Hough變換的圖像傾角矯正、目標分割和圖像濾波;然后根據(jù)條形碼編碼的既定規(guī)則,采用平均值法和校驗碼驗證法對條形碼進行譯碼;最后,利用MATLAB仿真軟件,設(shè)計了一個條形碼識別系統(tǒng)。通過實驗驗證,所設(shè)計的系統(tǒng)識別率可以達到99%以上,取得了很好的效果。
中圖分類號:TP311
文獻標識碼:A
DOI: 10.19358/j.issn.2096-5133.2020.03.014
引用格式:李慧,歐陽鑫玉,張鋒.基于圖像技術(shù)的EAN-13條碼識別系統(tǒng)設(shè)計[J].信息技術(shù)與網(wǎng)絡(luò)安全,2020,39(3):73-77.
文獻標識碼:A
DOI: 10.19358/j.issn.2096-5133.2020.03.014
引用格式:李慧,歐陽鑫玉,張鋒.基于圖像技術(shù)的EAN-13條碼識別系統(tǒng)設(shè)計[J].信息技術(shù)與網(wǎng)絡(luò)安全,2020,39(3):73-77.
Design of EAN-13 barcode recognition system based on image technology
Li Hui,Ouyang Xinyu,Zhang Feng
(School of Electronic and Information Engineering,University of Science and Technology Liaoning,Anshan 114051,China)
Abstract: As a common data acquisition and automatic recognition technology,barcode technology has a wide range of application.In order to better meet the automation requirements of application scenarios,this paper studies the algorithms of EAN13 barcode recognition by using image processing technology.Firstly,the collected barcode image is preprocessed,including image graying,image inclination correction based on Hough transform,target segmentation and image filtering;secondly,according to the coding rules of barcode,the barcode is decoded by mean value method and check code error correction processing;finally,based on MATLAB software,a barcode recognition system is designed.Through the experimental verification,the recognition rate of the designed system has reached more than 99%,and achieved good results.
Key words : barcode recognition;image technology;system design;EAN-13
0 引言
隨著社會經(jīng)濟的快速發(fā)展,條形碼技術(shù)已成為一種常用的數(shù)據(jù)采集和自動識別技術(shù),由于它具備輸入速度快、準確率高、投入成本低、簡單實用、自由度大、采用設(shè)備相對簡單、容易制作等特點,因此能夠普遍應(yīng)用在商品流通、工業(yè)生產(chǎn)、交通運輸、智慧物流、醫(yī)療衛(wèi)生等領(lǐng)域。
對于條碼的識別,通常是基于光電技術(shù)進行識別,一般的光電識讀設(shè)備通過線性掃描的方式讀取到條碼信息后,再利用硬件進行條形碼的識讀。由于條碼可能存在印刷不清或者由于臟污形成噪聲等情況,會導致識別率降低;此外,識讀設(shè)備成本過高,采用人工手持條形碼識別裝置工作效率低,難以適應(yīng)現(xiàn)代智能化、自動化的應(yīng)用場景功能需求。隨著數(shù)字圖像處理技術(shù)的發(fā)展,采用圖像處理技術(shù)和相關(guān)的智能算法對條形碼進行識別已成為新的趨勢,它可以有效解決利用硬件識別帶來的技術(shù)和成本問題。
本文詳細內(nèi)容請下載:http://www.rjjo.cn/resource/share/2000003191
作者信息:
李慧,歐陽鑫玉,張鋒
(遼寧科技大學 電子與信息工程學院,遼寧 鞍山 114051)
此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。