Usage of an improved YOLOv5 for steel surface defect detection

The one-stage YOLOv5 steel surface defect detection has issues such as slow operation speed, loss of defect location and semantic information of small targets, and inadequate extraction of defect features. This study proposed a defect detection algorithm with improved YOLOv5 to solve these issues. T...

Full description

Saved in:
Bibliographic Details
Published inMaterialprüfung Vol. 66; no. 5; pp. 726 - 735
Main Authors Wen, Huihui, Li, Ying, Wang, Yu, Wang, Haoyang, Li, Haolin, Zhang, Hongye, Liu, Zhanwei
Format Journal Article
LanguageEnglish
Published De Gruyter 27.05.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The one-stage YOLOv5 steel surface defect detection has issues such as slow operation speed, loss of defect location and semantic information of small targets, and inadequate extraction of defect features. This study proposed a defect detection algorithm with improved YOLOv5 to solve these issues. The proposed algorithm used the slim-neck layer built by three new modules instead of the neck layer in YOLOv5s to achieve a lightweight network model. In addition, the spatial perception self-attention mechanism was introduced to enhance the feature extraction capability of the initial convolutional layer without limiting the input size. The improved Atrous Spatial Pyramid Pooling was added to expand the perceptual field and capture multiscale contextual information while preventing local information loss and enhancing the relevance of long-range information. The experimental results showed that the improved YOLOv5 algorithm has a reduced model volume, significantly higher detection accuracy and speed than the traditional algorithm, and the ability to detect steel surface defects quickly and accurately.
ISSN:0025-5300
2195-8572
DOI:10.1515/mt-2023-0161