基于Tesseract_OCR的化工包装袋喷码质量检测算法  被引量:1

Quality Inspection Algorithm of Chemical Packaging Bag Coding Based on Tesseract_OCR

在线阅读下载全文

作  者:张茂林[1] 叶轻舟[1] 潘鑫 陆华 ZHANG Maolin;YE Qingzhou;PAN Xin;LU Hua(School of Electronic, Electrical Engineering and Physics,Fujian University of Technology,Fuzhou 350118,China;School of Computer Science and Mathematics,Fujian University of Technology,Fuzhou 350118,China;Fuzhou Sunlong Inkjetprint Technology Co., Ltd.,Fuzhou 350014,China)

机构地区:[1]福建工程学院电子电气与物理学院,福建福州350118 [2]福建工程学院计算机科学与数学学院,福建福州350118 [3]福州三龙喷码科技有限公司,福建福州350014

出  处:《电子科技》2022年第7期27-31,共5页Electronic Science and Technology

基  金:国家自然科学基金(41971340,41471333);福建省科学计划项目(2018H001,2019I0019)。

摘  要:化工包装袋喷印信息存在人工检测效率低、漏检率高的问题。针对该问题,文中设计了一种基于机器视觉的化工包装袋喷码质量检测方法。使用均值滤波与高斯双边滤波算法对采集图像进行预处理,再通过基于局部统计的可变阈值算法进行字符区域定位。为解决喷码字符点与点的距离大于字符之间的间隙大小,导致二值图像闭运算后多个字符黏连形成连通域的问题,文中提出了一种改进连通域的动态字符分割算法,通过Tesseract_OCR引擎将分割的字符图像进行分类训练和识别。实验结果表明,该算法对喷码质量检测的精确率高达95.62%,满足化工包装袋喷码质量检测要求。For the problems of low efficiency and high leakage rate in manual quality inspection of information printing on chemical packaging bags,a machine vision-based quality inspection method for printing codes on chemical packaging bags is designed in this study.Mean filtering and Gaussian bilateral filtering algorithms are used to pre-process the captured image,and then the character area is localized through a variable threshold algorithm based on local statistics.To solve the problem that the distance between the dots of the printout characters may be larger than the gap size between the characters,which leads to the formation of a connected domain with multiple characters sticking together after the binary image closure operation,the study proposes a dynamic character segmentation algorithm to improve the connected domain.The segmented character images are trained and recognized by Tesseract_OCR engine for classification.The experimental results show that the algorithm has the accuracy rate of 95.62%for coding quality detection,which can meet the requirements of chemical packaging bag coding quality inspection.

关 键 词:机器视觉 Tesseract_OCR 化工包装袋 喷码质量检测 预处理 字符定位 改进连通域 字符分割 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术] TN99[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象