基于OpenCV的气泡检测系统设计
DOI:
CSTR:
作者:
作者单位:

昆明理工大学信息工程与自动化学院 昆明 650000

作者简介:

通讯作者:

中图分类号:

TP391.4

基金项目:


Design of bubble detection system based on OpenCV
Author:
Affiliation:

School of Information Engineering and Automation, Kunming University of Science and Technology,Kunming,650000,China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    在现代工业生产中,对产品零部件的质量要求很严格,往往因一个零部件的气密性不行,而使产品的性能不能发挥出来,因此对产品的气密性检测提出了很高的要求。针对这一问题,本文设计了一套基于OpenCV的气泡检测系统,可用来实现气密性检测。文中采用技术相对成熟的摄影法为基础,用来实时捕捉气泡图像,首先利用高斯滤波法去除气泡图像中的噪声,并对其进行二值化处理,然后使用基于大律法的Canny边缘检测算法检测气泡边缘轮廓,最后通过图像填充算法对气泡轮廓进行填充,并用受力分析法求气泡的体积等参数。为了验证系统的有效性,本文制作了简易的实验装置,用来判断气泡检测系统是否有效。实验结果表明,基于该算法的系统实时性高,运算速度快,精度高且能够达到94%以上有效性。

    Abstract:

    In modern industrial production, the quality requirements for product parts are very strict. Often the performance of the product cannot be exerted due to the poor airtightness of a part. Therefore, high requirements are put forward for the airtightness test of the product. . Aiming at this problem, this paper designs a set of bubble detection system based on OpenCV, which can be used to achieve air tightness detection. In this paper, the relatively mature technology of photography is used as the basis to capture bubble images in real time. First, Gaussian filtering is used to remove the noise in the bubble image, and the binarization process is performed, and then the Canny edge detection algorithm based on the big law is used. The edge contour of the bubble is detected, and finally the bubble contour is filled by the image filling algorithm, and the volume of the bubble is calculated by the force analysis method. In order to verify the effectiveness of the system, this paper made a simple experimental device to determine whether the bubble detection system is effective. The experimental results show that the system based on the algorithm has high real-time performance, fast calculation speed, high accuracy and can reach more than 94% effectiveness.

    参考文献
    相似文献
    引证文献
引用本文

刁子健,张寿明.基于OpenCV的气泡检测系统设计[J].电子测量技术,2021,44(12):6-11

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-09-06
  • 出版日期:
文章二维码