摘 要: 运用基于OpenCV的机器视觉,研究检测齿轮瑕疵生产流水线,采用CCD工业相机获取实时图像,通过 基于OpenCV研发的算法,对齿轮进行灰度化、滤波、二值化、形态学运算等预处理后,剔除背景图像的影响,获得清 晰的齿轮轮廓图,然后对齿轮轮廓图进行筛选,检测齿轮的瑕疵,并且把有瑕疵齿轮位置传送给SCARA机械臂,机械 臂夹取瑕疵品。机器视觉算法与机械臂相结合,实现齿轮的自动检测。 |
关键词: OpenCV;机器视觉;齿轮瑕疵检测;图像处理;流水线生产 |
中图分类号: TP391.4
文献标识码: A
|
|
A Method of Gear Defect Image Detection |
YE Rundong, YAO Jiamin, WEI Yuxin, LIN Xueqing, CHEN Zhiwei, ZHANG Weirong
|
( Guangzhou University, Guangzhou 510006, China )
991139379@qq.com; Yaojia_kami@163.com; 584558109@qq.com; 997078856@qq.com; 1301912993@qq.com; 591330289@qq.com
|
Abstract: This research studies the production line of detecting gear defects by using machine vision based on OpenCV. The real-time images are obtained by CCD (Charge-Coupled Device) industrial camera. After preprocessing the gear with grayscale, ltering, binarization and morphological operation based on OpenCV, the in uence of background image is eliminated, and the clear gear pro le is obtained. Then, the gear pro le is screened to detect the teeth, and the positions of the defective gears are transmitted to the SCARA (Selective Compliance Assembly Robot Arm) manipulator, which picks up the defective products. In this way, the automatic detection of gears is realized through combining machine vision algorithm and the manipulator. |
Keywords: OpenCV; machine vision; gear defect detection; image processing; assembly line production |