摘要: |
目的 为实现玻璃瓶缺陷在线检测,基于机器视觉设计一种瓶口定位和缺陷检测方法。方法 介绍系统结构,包括相机、控制系统和剔除机构。详细论述图像处理算法,即:图像预处理、图像分割、瓶口定位、缺陷检测等。中值滤波完成玻璃瓶图像降噪处理,迭代阈值实现图像分割。基于像素坐标平均法完成瓶口定位。对于瓶口断口和破损等缺陷,分别采用径向积分投影和双圆周扫描实现瓶口缺陷检测。最后进行实验研究。结果 实验结果表明,所述算法的性能指标均为98%左右,实现了准确、快速、无接触检测。结论 该系统操作简单,能够满足实际使用的需求。 |
关键词: 玻璃瓶 缺陷检测 定位 图像处理 |
DOI:10.19554/j.cnki.1001-3563.2020.15.034 |
分类号:TP391 |
基金项目: |
|
Design of Glass Bottle Mouth Positioning and Defect Detection System |
YANG Dan
|
Changzhou College of Information Technology, Changzhou 213164, China
|
Abstract: |
The work aims to design a method of bottle mouth positioning and defect detection based on machine vision, in order to realize the on-line defect detection of glass bottle. The system structure, including camera, control system and elimination mechanism, was introduced. The image processing algorithms, such as image prepossessing, image seg-mentation, bottle mouth positioning and defect detection, were discussed in detail. Glass bottle image noise reduction was completed by median filtering. Image segmentation was realized by iteration threshold. The bottle mouth was positioned based on the pixel coordinate average method. The radial integral projection and double circumferential scanning were used to detect the bottle mouth defects, such as bottle mouth fracture and damage. Finally, an experimental study was carried out. The experimental results showed that the performance indexes of the proposed algorithm were above 98%, and the accurate, fast and untouched detection was achieved. The system is easy to operate and can meet the requirements of practical use. |
Key words: glass bottle defect detection positioning image processing |