清远职业技术学院学报2025,Vol.18Issue(1) :42-48.DOI:10.20217/j.cnki.qyptxb.2025.01.006

基于机器视觉的金属零件表面缺陷检测研究

A Research on Surface Defect Detection of Metal Parts Based on Machine Vision

孙姿姣 罗芳 李阳辉
清远职业技术学院学报2025,Vol.18Issue(1) :42-48.DOI:10.20217/j.cnki.qyptxb.2025.01.006

基于机器视觉的金属零件表面缺陷检测研究

A Research on Surface Defect Detection of Metal Parts Based on Machine Vision

孙姿姣 1罗芳 1李阳辉2
扫码查看

作者信息

  • 1. 清远职业技术学院机电与汽车工程学院,广东清远 511510
  • 2. 清远职业技术学院信息技术与创意设计学院,广东清远 511510
  • 折叠

摘要

目前制造业中,金属零件的缺陷问题会导致重大经济损失,主要问题在于零件缺陷小且缺陷位置出现随机,传统人工检测难以区分微小缺陷位置与非缺陷位置,且人力成本高,经济效益低下.针对这一问题,研究提出一种基于机器视觉的金属零件表面缺陷检测方法,通过机器视觉检测代替人力劳动,同时采用交互式空间位置注意力模块,解决了金属零件表面的缺陷不明显难以检测的问题,采用对偶局部-全局Transformer模块,解决了缺陷区域与周围正常区域难以区分的问题,提高了金属零件表面微小缺陷的检测性能,从而提高企业经济效益.

Abstract

In the current manufacturing industry,the occurrence of defects in metal parts can result in substantial economic losses.The primary challenge lies in the small size and random distribution of these de-fects.Traditional manual detection struggles to differentiate between defective and non-defective areas due to their subtle nature,leading to high labor costs and low economic benefits.To solve this issues,a method for surface defect detection of metal parts based on machine vision is proposed.Machine vision detection replaces human labor,while an Interactive Spatial Position Attention Module is employed to tackle the difficulty of de-tecting inconspicuous surface defects on metal parts.Additionally,a Dual Local-global Transformer Module is utilized to enhance the distinction between defect areas and surrounding normal areas,thereby improving the detection performance for small surface defects on metal parts and ultimately enhancing enterprises'economic benefits.

关键词

机器视觉/缺陷检测/交互式空间位置注意力模块/对偶局部-全局Transformer模块

Key words

machine vision/defect detection/interactive spatial position attention module/dual local-global transformer module

引用本文复制引用

出版年

2025
清远职业技术学院学报
清远职业技术学院

清远职业技术学院学报

影响因子:0.155
ISSN:1674-4896
段落导航相关论文