文章摘要
张志刚,黄军勤.基于机器视觉的商品条码质量检测方法[J].包装工程,2019,40(9):154-160.
ZHANG Zhi-gang,HUANG Jun-qin.Quality Detection Method of Commodity Bar Code Based on Machine Vision[J].Packaging Engineering,2019,40(9):154-160.
基于机器视觉的商品条码质量检测方法
Quality Detection Method of Commodity Bar Code Based on Machine Vision
投稿时间:2019-01-30  修订日期:2019-05-10
DOI:10.19554/j.cnki.1001-3563.2019.09.025
中文关键词: 商品条码  质量检测  机器视觉  条码检测
英文关键词: commercial bar code  quality detection  machine vision  bar code detection
基金项目:2017年陕西省重点研发计划(2017GY-036)
作者单位
张志刚 西安理工大学西安 710048 
黄军勤 西安理工大学西安 710048 
摘要点击次数:
全文下载次数:
中文摘要:
      目的 针对EAN-13商品条码,运用机器视觉技术进行商品条码质量检测,实现一体化、自动化、智能化检验。方法 根据检测要求,设计商品条码图像采集装置,通过系统标定完成初始化。条码检测时,采集待测条码图像,进行畸变矫正;通过边缘检测、形态处理和轮廓匹配,找到条码准确位置,分割出条码图像区域,对其旋转校正,分为条码区域和数字区域;对条码区域,水平采样获取反射曲线,计算光学特性参数和译码数据,通过几何特征分析,结合标定参数,计算出相关结构参数;对数字区域,通过字符分割、模版匹配,完成字符识别;最后,通过比对分析,获取全部检测数据。结果 分别采用该方法和传统方法,对100个EAN-13条码样本进行了检测对比,试验表明该方法的检验结果符合国家标准,检测数据准确可靠;该方法操作快捷,精度更高,检测速度大幅提高。结论 文中方法实现了商品条码质量检测的一体化、自动化、智能化处理,显著提高了检验水平和工作效率。
英文摘要:
      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.
查看全文   查看/发表评论  下载PDF阅读器
关闭

关于我们 | 联系我们 | 投诉建议 | 隐私保护 | 用户协议

您是第21244810位访问者    渝ICP备15012534号-2

版权所有:《包装工程》编辑部 2014 All Rights Reserved

邮编:400039 电话:023-68795652 Email: designartj@126.com

    

渝公网安备 50010702501716号