AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (17.7 MB)
Collect
AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Publishing Language: Chinese

A detection algorithm based on YOLOv5s for metal surface defects

Zhiguo AN( )Qinglin XIANLiang XU
School of Mechatronics and Vehicle Engineering, Chongqing Jiaotong University, Chongqing 400074, P. R. China
Show Author Information

Abstract

Metal parts are widely used in various fields, and their surface defects usually distribute unevenly and some characteristics are weak, which often causes missing and false detection. To solve this problem, a YOLOv5s-MD algorithm is proposed. Aiming at the problem of complex features of metal surface defects, an improved spatial pyramid pooling module is introduced to improve the deep feature extraction for small targets of different sizes. To address the problem of feature dispersion and calculation increase, a lightweight attention mechanism and the GSConv module are added to improve the model’s ability to effectively extract defect features at different sizes. For the boundary regression mismatch caused by irregular size information of metal surface defects, a loss function considering vector angle is adopted. The results show that the YOLOv5s-MD algorithm has an average accuracy of 75.3% in metal surface defect detection, which can effectively increase the detection accuracy and reduce the false detection rate for metal surface defects.

CLC number: TP391.4 Document code: A Article ID: 1000-582X(2026)04-098-09

References

【1】
【1】
 
 
Journal of Chongqing University
Pages 98-106

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
AN Z, XIAN Q, XU L. A detection algorithm based on YOLOv5s for metal surface defects. Journal of Chongqing University, 2026, 49(4): 98-106. https://doi.org/10.11835/j.issn.1000-582X.2026.02.009

139

Views

0

Downloads

0

Crossref

0

Scopus

Received: 08 November 2023
Published: 01 April 2026
© Journal of Chongqing University