基于圖像技術(shù)的EAN-13條碼識(shí)別系統(tǒng)設(shè)計(jì)
2020年信息技術(shù)與網(wǎng)絡(luò)安全第3期
李慧,歐陽鑫玉,張鋒
(遼寧科技大學(xué) 電子與信息工程學(xué)院,遼寧 鞍山 114051)
摘要: 條形碼技術(shù)作為一種數(shù)據(jù)采集和自動(dòng)識(shí)別技術(shù)應(yīng)用非常廣泛。為了更好地滿足應(yīng)用場景的自動(dòng)化功能需求,利用圖像處理相關(guān)技術(shù),對(duì)EAN-13條形碼識(shí)別的相關(guān)算法進(jìn)行了研究。首先,針對(duì)采集到的條形碼圖像進(jìn)行圖像預(yù)處理,包括圖像灰度化、基于Hough變換的圖像傾角矯正、目標(biāo)分割和圖像濾波;然后根據(jù)條形碼編碼的既定規(guī)則,采用平均值法和校驗(yàn)碼驗(yàn)證法對(duì)條形碼進(jìn)行譯碼;最后,利用MATLAB仿真軟件,設(shè)計(jì)了一個(gè)條形碼識(shí)別系統(tǒng)。通過實(shí)驗(yàn)驗(yàn)證,所設(shè)計(jì)的系統(tǒng)識(shí)別率可以達(dá)到99%以上,取得了很好的效果。
中圖分類號(hào):TP311
文獻(xiàn)標(biāo)識(shí)碼:A
DOI: 10.19358/j.issn.2096-5133.2020.03.014
引用格式:李慧,歐陽鑫玉,張鋒.基于圖像技術(shù)的EAN-13條碼識(shí)別系統(tǒng)設(shè)計(jì)[J].信息技術(shù)與網(wǎng)絡(luò)安全,2020,39(3):73-77.
文獻(xiàn)標(biāo)識(shí)碼:A
DOI: 10.19358/j.issn.2096-5133.2020.03.014
引用格式:李慧,歐陽鑫玉,張鋒.基于圖像技術(shù)的EAN-13條碼識(shí)別系統(tǒng)設(shè)計(jì)[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 引言
隨著社會(huì)經(jīng)濟(jì)的快速發(fā)展,條形碼技術(shù)已成為一種常用的數(shù)據(jù)采集和自動(dòng)識(shí)別技術(shù),由于它具備輸入速度快、準(zhǔn)確率高、投入成本低、簡單實(shí)用、自由度大、采用設(shè)備相對(duì)簡單、容易制作等特點(diǎn),因此能夠普遍應(yīng)用在商品流通、工業(yè)生產(chǎn)、交通運(yùn)輸、智慧物流、醫(yī)療衛(wèi)生等領(lǐng)域。
對(duì)于條碼的識(shí)別,通常是基于光電技術(shù)進(jìn)行識(shí)別,一般的光電識(shí)讀設(shè)備通過線性掃描的方式讀取到條碼信息后,再利用硬件進(jìn)行條形碼的識(shí)讀。由于條碼可能存在印刷不清或者由于臟污形成噪聲等情況,會(huì)導(dǎo)致識(shí)別率降低;此外,識(shí)讀設(shè)備成本過高,采用人工手持條形碼識(shí)別裝置工作效率低,難以適應(yīng)現(xiàn)代智能化、自動(dòng)化的應(yīng)用場景功能需求。隨著數(shù)字圖像處理技術(shù)的發(fā)展,采用圖像處理技術(shù)和相關(guān)的智能算法對(duì)條形碼進(jìn)行識(shí)別已成為新的趨勢,它可以有效解決利用硬件識(shí)別帶來的技術(shù)和成本問題。
本文詳細(xì)內(nèi)容請(qǐng)下載:http://ihrv.cn/resource/share/2000003191
作者信息:
李慧,歐陽鑫玉,張鋒
(遼寧科技大學(xué) 電子與信息工程學(xué)院,遼寧 鞍山 114051)
此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。