An improved YOLOv5n algorithm for detecting surface defects in industrial components

J Jia-Hui Tian X Xue-Feng Feng F Feng Li Q Qing-Long Xian Z Zhen-Hong Jia J Jie-Liang Liu

Abstract

Abstract Due to the small defect areas and indistinct features on industrial components, detecting surface defects with high accuracy remains challenging, often leading to false detections. To address these issues, this paper proposes an improved YOLOv5n algorithm for industrial surface defect detection. The main improvements are as follows: the DSConv-CA module in the backbone network enhances the feature extraction capability, the Gold-YOLO structure replaces the original PANet structure in the neck to improve information fusion, and the SIoU loss function is adopted to replace the regression loss, further improving detection accuracy. Experimental results demonstrate that the improved YOLOv5n algorithm achieves a mean average precision of 75.3% on the NEU-DET dataset, which is 4.3% higher than the original model.

Article Details

Volume / Issue Vol. 15, Issue 1
Published March 21, 2025
ISSN 2045-2322
Publisher Nature Portfolio

Journal Info

Scientific Reports

Nature Portfolio

ISSN: 2045-2322 Open Access Life Sciences

Authors (6)

J

Jia-Hui Tian

X

Xue-Feng Feng

F

Feng Li

Q

Qing-Long Xian

Z

Zhen-Hong Jia

J

Jie-Liang Liu