JOURNAL ARTICLE

Metal surface defect detection based on improved YOLOv5

Abstract

This paper proposes an improved YOLOv5 algorithm for metal surface defect detection to address the issues of slow detection speed and low accuracy in traditional YOLO algorithms. The proposed algorithm introduces a Convolutional Block Attention Module (CBAM) consisting of two sub-modules: Spatial Attention Module (SAM) and Channel Attention Module (CAM), which collect attention information in both spatial and channel dimensions and combine them to obtain more comprehensive and reliable attention information. Additionally, the paper introduces the SIOU loss function, which accurately measures the accuracy of object localization by considering the vector angle in boundary box regression. The proposed method achieves significant improvements in detection accuracy by minimizing the difference in vector angles, which allows for better adjustment of the position and orientation of the boundary boxes. Experimental results demonstrate that the improved algorithm increases detection accuracy by 5.7 % compared to the traditional algorithm.

Keywords:
Block (permutation group theory) Boundary (topology) Computer science Channel (broadcasting) Algorithm Object detection Orientation (vector space) Surface (topology) Position (finance) Artificial intelligence Convolutional neural network Function (biology) Object (grammar) Pattern recognition (psychology) Computer vision Mathematics

Metrics

10
Cited By
1.82
FWCI (Field Weighted Citation Impact)
10
Refs
0.83
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Neural Network Applications
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Industrial Vision Systems and Defect Detection
Physical Sciences →  Engineering →  Industrial and Manufacturing Engineering
Visual Attention and Saliency Detection
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
© 2026 ScienceGate Book Chapters — All rights reserved.