Stamping part surface crack detection based on machine vision

IF 5.2 2区 工程技术 Q1 ENGINEERING, MULTIDISCIPLINARY Measurement Pub Date : 2025-03-10 DOI:10.1016/j.measurement.2025.117168
Xiaokang Ma , Zhengshui Kang , Chenghan Pu , Ziyu Lin , Muyuan Niu , Jun Wang
{"title":"Stamping part surface crack detection based on machine vision","authors":"Xiaokang Ma ,&nbsp;Zhengshui Kang ,&nbsp;Chenghan Pu ,&nbsp;Ziyu Lin ,&nbsp;Muyuan Niu ,&nbsp;Jun Wang","doi":"10.1016/j.measurement.2025.117168","DOIUrl":null,"url":null,"abstract":"<div><div>Cracks are the most common defects on the surface of stamping parts. Given the complex and varied structures of automotive stamping parts and their highly reflective surfaces, the current state-of-the-art methods lack effective automated inspection systems capable of precise online detection. Consequently, the identification of surface cracks in stamping parts on active stamping lines predominantly relies on manual visual inspection. However, this method is subjective, inefficient, and insufficient to meet the requirements for higher accuracy and detection rates. Therefore, this paper proposes a stamping part surface crack detection system based on machine vision. By devising an image acquisition module, high-resolution images of stamping parts are captured. Considering the strong reflectivity of the stamping part surface, an innovative gray-based contrast enhancement algorithm is proposed to adaptively balance the image contrast by comparing the grayscale values of the local window with the global image. To precisely locate and detect cracks, we design a novel crack online detection network (COD-Net), which is based on YOLOv9 as the backbone to improve detection efficiency and accuracy. This network incorporates the multi-scale crack attention (MCA) mechanism to obtain richer semantic information and more accurate feature representation. Notably, the crack detection context decoupling (CDCD) head is exploited in the detection head to improve localization accuracy and convergence speed. Moreover, we propose the CD-Loss, which introduces <span><math><mi>α</mi></math></span>-WIoU in the detection box loss function to enhance model performance and speed up convergence. Our method significantly improves recall and achieves an [email protected] of 99.3% on the test set compared with other state-of-the-art methods. Furthermore, our detection system has been successfully applied to an automotive stamping lines.</div></div>","PeriodicalId":18349,"journal":{"name":"Measurement","volume":"251 ","pages":"Article 117168"},"PeriodicalIF":5.2000,"publicationDate":"2025-03-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measurement","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0263224125005275","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Cracks are the most common defects on the surface of stamping parts. Given the complex and varied structures of automotive stamping parts and their highly reflective surfaces, the current state-of-the-art methods lack effective automated inspection systems capable of precise online detection. Consequently, the identification of surface cracks in stamping parts on active stamping lines predominantly relies on manual visual inspection. However, this method is subjective, inefficient, and insufficient to meet the requirements for higher accuracy and detection rates. Therefore, this paper proposes a stamping part surface crack detection system based on machine vision. By devising an image acquisition module, high-resolution images of stamping parts are captured. Considering the strong reflectivity of the stamping part surface, an innovative gray-based contrast enhancement algorithm is proposed to adaptively balance the image contrast by comparing the grayscale values of the local window with the global image. To precisely locate and detect cracks, we design a novel crack online detection network (COD-Net), which is based on YOLOv9 as the backbone to improve detection efficiency and accuracy. This network incorporates the multi-scale crack attention (MCA) mechanism to obtain richer semantic information and more accurate feature representation. Notably, the crack detection context decoupling (CDCD) head is exploited in the detection head to improve localization accuracy and convergence speed. Moreover, we propose the CD-Loss, which introduces α-WIoU in the detection box loss function to enhance model performance and speed up convergence. Our method significantly improves recall and achieves an [email protected] of 99.3% on the test set compared with other state-of-the-art methods. Furthermore, our detection system has been successfully applied to an automotive stamping lines.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
求助全文
约1分钟内获得全文 去求助
来源期刊
Measurement
Measurement 工程技术-工程:综合
CiteScore
10.20
自引率
12.50%
发文量
1589
审稿时长
12.1 months
期刊介绍: Contributions are invited on novel achievements in all fields of measurement and instrumentation science and technology. Authors are encouraged to submit novel material, whose ultimate goal is an advancement in the state of the art of: measurement and metrology fundamentals, sensors, measurement instruments, measurement and estimation techniques, measurement data processing and fusion algorithms, evaluation procedures and methodologies for plants and industrial processes, performance analysis of systems, processes and algorithms, mathematical models for measurement-oriented purposes, distributed measurement systems in a connected world.
期刊最新文献
Editorial Board Stamping part surface crack detection based on machine vision Realization of ultramicropore characterization of activated charcoal by cryogenic helium adsorption technique True random calibration method and application of tapped delay line-TDC with spontaneous parametric down-conversion system Efficient combination of deep learning models for solar panel damage and soiling detection
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1