Tian Jia-Hui, Feng Xue-Feng, Li Feng, Xian Qing-Long, Jia Zhen-Hong, Liu Jie-Liang
College of Computer Science and Technology, Xinjiang University, Urumqi, 830046, China.
Xinjiang University Signal Detection and Processing Autonomous Region Key Laboratory, Urumqi, 830046, China.
Sci Rep. 2025 Mar 21;15(1):9756. doi: 10.1038/s41598-025-94109-8.
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.
由于工业部件上的缺陷区域小且特征不明显,高精度检测表面缺陷仍然具有挑战性,常常导致误检。为了解决这些问题,本文提出了一种改进的YOLOv5n算法用于工业表面缺陷检测。主要改进如下:主干网络中的DSConv-CA模块增强了特征提取能力,Gold-YOLO结构取代了颈部的原始PANet结构以改善信息融合,并且采用SIoU损失函数取代回归损失,进一步提高了检测精度。实验结果表明,改进的YOLOv5n算法在NEU-DET数据集上实现了75.3%的平均精度均值,比原始模型高4.3%。