Journal of Jilin University (Information Science Edition) ›› 2025, Vol. 43 ›› Issue (1): 116-125.

Previous Articles     Next Articles

Algorithm for Defect Detection of Steel Surface Based on YOLOv8-DSG

ZOU Yanyan, CAO Yanfen, ZHANG Xinyue, LI Zhi, CUI Shilong   

  1. College of Electrical and Information Engineering, Northeast Petroleum University, Daqing 163318, China
  • Received:2023-11-02 Online:2025-02-24 Published:2025-02-24

Abstract:

At the traditional image processing algorithms for the detection of steel surface defects, there are problems such as low recognition efficiency and a high false detection rate of leakage. The YOLOv8-DSG (Deformable Convolution Network Squeeze and Excitation Network Generalized Intersection over Union) steel surface defect detection algorithm is proposed. Based on the traditional YOLOv8 algorithm, several improvements are made. Firstly, the DCN ( Deformable Convolutional Network) is embedded in the C2f ( Convolution to Feature) module of the Backbone network, which enhances the feature extraction ability of the model under

complex background conditions. Secondly, the SE ( Squeeze and Excitation network ) attention module is introduced into the Neck network, which highlights the important feature information of the steel surface and enhances the richness of the feature fusion. Lastly, the GIOU ( Generalized Intersection Over Union) loss function is used instead of the original CIOU(Complete Intersection Over Union). Compared with CIOU, GIOU introduces the minimum enclosing frame area ratio, which can more accurately measure the overlapping area of the frames. The experimental results show that the YOLOv8-DSG algorithm achieves an average accuracy mAP of

80% on the NEU-DET dataset, which is 3. 3% higher compared to the original YOLOv8 algorithm. And it has a low rate of misdetection and omission, demonstrating higher detection accuracy and arithmetic efficiency. This algorithm can play an important role in quality inspection.

Key words: defect detection, YOLOv8, deformable convolution, attention mechanism, loss function

CLC Number: 

  • TP391. 41