摘要
目的 针对现有医疗袋质量检测过程中存在的检测速度慢和检测精度低等问题, 提出一种新的基于 HALCON 的医疗袋印刷图案缺陷检测方案。方法 根据不同医疗袋图案的区域特征进行手动定位, 通过基于形状的模板匹配算法实现目标区域的快速匹配, 利用灰度值差影匹配算法进行缺陷检测。结果 检测出的缺陷与实际存在的缺陷基本吻合, 且检测速度和检测精度均满足要求。结论 该方案能够快速、 准确、 有效地检测出医疗袋图案缺陷, 达到了一般生产线质量要求。
Abstract
In the current quality inspection of medical bags, there exists the problem of slow detection speed and low detection accuracy. Targeting at this problem, a new defect detection scheme was proposed based on HALCON in this paper. Firstly, manual positioning was executed based on different regional characteristics of medical bag patterns. Then the quick match of the target area was completed through the template matching algorithm based on shape. Finally, the defect detection was carried out with gray value subtraction matching algorithm. Detected defects were basically consistent with the actual ones, and the testing speed and the accuracy met the requirements. Pattern defects of medical bags can be detected quickly, accurately and effectively in this experiment which met the quality requirements of normal production line.
王宏丽, 赵不贿, 孙智权, 陈星星.
基于HALCON的医疗袋缺陷检测[J]. 包装工程(技术栏目). 2015(13): 125-129
WANG Hong-li, ZHAO Bu-hui, SUN Zhi-quan, CHEN Xing-xing.
Defect Detection of Medical Bags Based on Halcon[J]. Packaging Engineering. 2015(13): 125-129
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}