摘要
条形码技术作为一种数据采集和自动识别技术应用非常广泛。为了更好地满足应用场景的自动化功能需求,利用图像处理相关技术,对EAN-13条形码识别的相关算法进行了研究。首先,针对采集到的条形码图像进行图像预处理,包括图像灰度化、基于Hough变换的图像倾角矫正、目标分割和图像滤波;然后根据条形码编码的既定规则,采用平均值法和校验码验证法对条形码进行译码;最后,利用MATLAB仿真软件,设计了一个条形码识别系统。通过实验验证,所设计的系统识别率可以达到99%以上,取得了很好的效果。
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 EAN-13 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.
作者
李慧
欧阳鑫玉
张锋
Li Hui;Ouyang Xinyu;Zhang Feng(School of Electronic and Information Engineering,University of Science and Technology Liaoning,Anshan 114051,China)
出处
《信息技术与网络安全》
2020年第3期73-77,共5页
Information Technology and Network Security
基金
辽宁科技大学大学生创新创业训练计划项目(201910146117)