摘要
目的针对现有医疗袋质量检测过程中存在的检测速度慢和检测精度低等问题,提出一种新的基于HALCON的医疗袋印刷图案缺陷检测方案。方法根据不同医疗袋图案的区域特征进行手动定位,通过基于形状的模板匹配算法实现目标区域的快速匹配,利用灰度值差影匹配算法进行缺陷检测。结果检测出的缺陷与实际存在的缺陷基本吻合,且检测速度和检测精度均满足要求。结论该方案能够快速、准确、有效地检测出医疗袋图案缺陷,达到了一般生产线质量要求。
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.
出处
《包装工程》
CAS
CSCD
北大核心
2015年第13期125-129,共5页
Packaging Engineering