›› 2020, Vol. 26 ›› Issue (第4): 910-919.DOI: 10.13196/j.cims.2020.04.005

Previous Articles     Next Articles

Highspeed online identification of one-dimensional and two-dimensional barcode based on machine vision

  

  • Online:2020-04-30 Published:2020-04-30
  • Supported by:
    Project  supported by the National Natural Science Foundation,China(No.51475097,91746116),the Ministry of Industry and Information Technology,China(No.[2016]213),the Guizhou Provincial Science and Technology Plan,China (No.[2015]4011,[2016]5013,[2015]02),and the Guizhou Provincial Graduate Innovation Fund,China(No.YJSCXJH[2018]052) ).

基于机器视觉的一维和二维条码高速在线识别

李少波1,2,王铮1+,杨静1,朱书德1,全华凤1   

  1. 1.贵州大学机械工程学院
    2.贵州大学现代制造技术教育部重点实验室
  • 基金资助:
    国家自然科学基金资助项目(51475097,91746116);工信部资助项目(工信部联装[2016]213号);贵州省科技计划资助项目(黔科合人才[2015]4011,[2016]5103,黔教合协同创新字[2015]02);贵州省研究生创新基金资助项目(黔教合YJSCXJH[2018]052)。

Abstract: For the identification of one-dimensional and two-dimensional barcode in high-speed motion,an efficient and accurate barcode online recognition method based on machine vision technology was proposed.Firstly,the on-line barcode recognition technology and barcode coding theory was analyzed.Focusing on the high-speed image location and feature extraction under complex background,the relationship model between the system recognition coefficient and bar code motion was established.Then,instead of traditional image processing methods,a high-speed barcode recognition algorithm based on Halcon to recognize bar code in complex background was proposed.Finally,a high-speed recognition test platform to verify the accuracy of the proposed algorithm was built.Experimental results showed that under the set parameters,the code recognition coefficient of the experimental system reached the optimal when the barcode movement speed reached 3.75 mm/ms.In the 1 000 test datasets,the accuracy of the proposed algorithm was 97.10%,which had good robustness.

Key words: machine vision, barcode identification, barcode coding, on-line recognition, Halcon operator

摘要: 针对高速运动过程中一维和二维条码识别,基于机器视觉技术提出一种高效、准确的条码在线识别方法。分析了在线条码识别技术和条码编码原理,并针对复杂背景下的图像高速定位与特征提取,建立了识码系数与条码运动的关系模型,提出在复杂背景下基于Halcon的条码高速识别算法。为了验证所提出算法的准确性,搭建了高速检测试验平台对所提的方法进行应用验证。实验结果表明,在所设置的参数下,当条码运动速度达到3.75 mm/ms时,系统识码系数达到最优;在1000张测试数据集中,算法的准确率为97.10%,算法具有较好的鲁棒性。

关键词: 机器视觉, 条码识别, 条码编码, 在线识别, Halcon算子

CLC Number: