测试技术学报2024,Vol.38Issue(3):289-297,9.DOI:10.3969/j.issn.1671-7449.2024038
基于机器视觉的电子线束产品尺寸检测方法
A Method for Measuring the Size of Electronic Wiring Harness Products Based on Machine Vision
李小宝 1陆永华 1周利华 2冯强 2赵东标1
作者信息
- 1. 南京航空航天大学 机电学院,江苏 南京 210016
- 2. 国营锦江机械厂,四川 成都 610043
- 折叠
摘要
Abstract
Aiming at the problems of traditional manual inspection methods of electronic wire harness prod-uct dimensions such as low efficiency and large subjective measurement errors,a non-contact inspection method based on machine vision is proposed.Design and build a visual inspection system,use Zhang Zhengyou calibration method to calibrate the camera and collect product image information,use the improved Canny algorithm to detect the edges of the image,extract the product outline and perform hori-zontal tilt correction on the image;the corrected product outline is divided and the least squares method is used to perform straight line fitting on the contour edge sampling points;the product size in the world coordinate system is calculated based on the image coordinates of the measurement points on the contour edge and the camera calibration results;traditional vernier caliper measurement and visual measurement tests are performed on the product.The test results show that the repeated measurement error and abso-lute measurement error of this method do not exceed 0.1 mm,the average detection time is within 1 s,and it can achieve rapid and accurate detection of the dimensions of electronic wire harness products.关键词
机器视觉/相机标定/边缘检测/最小二乘拟合/尺寸检测Key words
machine vision/camera calibration/camera calibration/least squares fit/size measurement分类
信息技术与安全科学引用本文复制引用
李小宝,陆永华,周利华,冯强,赵东标..基于机器视觉的电子线束产品尺寸检测方法[J].测试技术学报,2024,38(3):289-297,9.