首页 | 官方网站   微博 | 高级检索  
     

基于机器视觉的商品条码质量检测方法
引用本文:张志刚,黄军勤.基于机器视觉的商品条码质量检测方法[J].包装工程,2019,40(9):154-160.
作者姓名:张志刚  黄军勤
作者单位:西安理工大学,西安,710048;西安理工大学,西安,710048
基金项目:2017年陕西省重点研发计划(2017GY-036)
摘    要:目的针对EAN-13商品条码,运用机器视觉技术进行商品条码质量检测,实现一体化、自动化、智能化检验。方法根据检测要求,设计商品条码图像采集装置,通过系统标定完成初始化。条码检测时,采集待测条码图像,进行畸变矫正;通过边缘检测、形态处理和轮廓匹配,找到条码准确位置,分割出条码图像区域,对其旋转校正,分为条码区域和数字区域;对条码区域,水平采样获取反射曲线,计算光学特性参数和译码数据,通过几何特征分析,结合标定参数,计算出相关结构参数;对数字区域,通过字符分割、模版匹配,完成字符识别;最后,通过比对分析,获取全部检测数据。结果分别采用该方法和传统方法,对100个EAN-13条码样本进行了检测对比,试验表明该方法的检验结果符合国家标准,检测数据准确可靠;该方法操作快捷,精度更高,检测速度大幅提高。结论文中方法实现了商品条码质量检测的一体化、自动化、智能化处理,显著提高了检验水平和工作效率。

关 键 词:商品条码  质量检测  机器视觉  条码检测
收稿时间:2019/1/30 0:00:00
修稿时间:2019/5/10 0:00:00

Quality Detection Method of Commodity Bar Code Based on Machine Vision
ZHANG Zhi-gang and HUANG Jun-qin.Quality Detection Method of Commodity Bar Code Based on Machine Vision[J].Packaging Engineering,2019,40(9):154-160.
Authors:ZHANG Zhi-gang and HUANG Jun-qin
Affiliation:Xi''an University of Technology, Xi''an 710048, China and Xi''an University of Technology, Xi''an 710048, China
Abstract:The paper aims to apply machine vision technology to detect the quality of commercial bar code to achieve integration, automation, intelligent inspection of EAN-13 commercial bar code. According to the requirements of detection, the acquisition device of commercial bar code image was designed and initialized by system calibration. For detecting bar code, its image was collected; the distortion was corrected soon afterwards. By edge detection, shape processing and contour matching, the exact position of bar code was found; the bar code image region was segmented, rotated and corrected, which was divided intobar code area and numeric area. For bar code area, the reflection curve was obtained by horizontal sampling; and the optical characteristic parameters and decoding data were calculated. Structural parameters were calculated combining the calibration parameters by analyzing the geometric characteristics and combining the calibration parameters. For numeric area, numerical recognition was accomplished by character segmentation and template matching. Finally, all detection data were obtained by comparison and analysis. 100 EAN-13 bar code samples were detected by this method and the traditional method respectively. Experiments showed that the test results of this method were in full compliance with national standard. The detection data were accurate and reliable. The method of this paper was operated quickly, the accuracy was higher, and the detection speed was greatly improved. In this paper, a new detection method is proposed, which realizes the integration, automation and intelligent processing of commercial bar code quality detection, and improves the inspection level and work efficiency significantly.
Keywords:commercial bar code  quality detection  machine vision  bar code detection
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《包装工程》浏览原始摘要信息
点击此处可从《包装工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号