摘要
条形码作为一种能够存储信息的技术,在生活中随处可见。目前常用的光电扫描识别技术虽能够满足商业需求,但却无法满足工业要求。为解决工业的条码识别需求,文中研究了EAN-13码为例的算法,提出了一种基于图像处理的条码识别技术,该算法对相机采集到的图像先进行预处理,包括灰度化、图像分割扫描、Hough变换、二值化等;而后根据EAN-13码的编码规则和校验码的验证规则进行译码和验证;最后设计出系统。通过实验验证,该技术能很好地识别字符。
Barcodes,as a technology capable of storing information,can be found everywhere in life.However,at present,the conventional photoelectric scanning and identification technology on the market can only meet commercial needs,and it is far from meeting the requirements in the industry.In order to solve the needs of industrial barcode recognition,this paper proposes a barcode recognition technology based on image processing.The algorithm using EAN-13 code as an example is studied.Firstly,the images acquired by the camera are pre processed,including gray scale,image segmentation scanning,Hough transformation and binarization;then decode and verify according to the encoding rules of EAN-13 codes and the verification rules of check codes;finally,the system is designed.Through experimental verification,characters can be well recognized.
作者
汤昌浩
刘一婷
刘志峰
TANG Changhao;LIU Yiting;LIU Zhifeng(School of Information Science and Engineering,Shenyang University of Technology,Shenyang 110870,China;Shenyang Institute of Automation,Chinese Academy of Sciences,Shenyang 110016,China;Robotics and Inelligent Manufacturing Innovation Research Institute of Chinese Academy of Sciences,Shenyang 110169,China)
出处
《移动信息》
2023年第1期156-159,共4页
MOBILE INFORMATION
基金
面向船舶制造过程管控平台开发及应用示范(2020YFB1712604)。
关键词
条形码
图像处理
EAN-13
算法
条码识别
二值化
灰度化
预处理
Baroode
Image processing
EAN-13
Algorithms
Barcode recognition
Binarization
Grayscale
Pre processing