主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

汽车实用技术 ›› 2022, Vol. 47 ›› Issue (16): 128-131.DOI: 10.16638/j.cnki.1671-7988.2022.016.026

• 工艺装备 • 上一篇    

基于 OpenCV 的车身匹配间隙测量方法

李永波   

  1. 泰州职业技术学院 智能制造学院
  • 发布日期:2022-09-30
  • 通讯作者: 李永波
  • 作者简介:李永波(1990—),男,硕士,工程师,研究方向为人工智能与机器视觉,E-mail:yzdxlyb@163.com。
  • 基金资助:
    泰州职业技术学院院级科研项目(TZYKYZK-20-01);泰州职业技术学院院级大学生创新创业训练计划“基 于机器视觉的汽车匹配间隙监测系统研究”(1121621055)。

Measurement Method of Car Body Matching Clearance Based on OpenCV

LI Yongbo   

  1. Intelligent Manufacturing College, Taizhou Polytechnic College,
  • Published:2022-09-30
  • Contact: LI Yongbo

摘要: 文章基于 OpenCV 图像处理技术,提出了一种汽车车身匹配间隙机器视觉测量方案。 系统的软件框架分为图像预处理、边缘检测和尺寸测量等核心模块。采用中值滤波消除图像 中的噪声,运用 Canny 算法获取间隙的边缘信息,然后运用相应的测量算法计算出测量结果。 最后,对测量结果进行误差分析,验证了该方法具备高效、高精度、柔性化优势,具备良好 的实际应用价值。

关键词: OpenCV;匹配间隙;边缘检测;尺寸测量

Abstract: This paper proposes a machine vision measurement scheme for vehicle body matching clearance based on OpenCV image processing technology. The software framework of the system is divided into core modules such as image preprocessing, edge detection and size measurement. The median filter is used to eliminate the noise in the image, the Canny algorithm is used to obtain the edge information of the clearance, and then the corresponding measurement algorithm is used to calculate the measurement results. Finally, the error analysis of the measurement results shows that the method has the advantages of high efficiency, high precision and flexibility, and has good practical application value.

Key words: OpenCV; Matching clearance; Edge detection; Dimension measurement