A steel defect detection method based on edge feature extraction via the Sobel operator
Authors:
Open Access
- 12 November 2024
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 14 (1) , 1-21
Abstract
Scratches and cracks in steel severely affect its service life and performance. However, owing to the irregular shapes and sizes of steel surface defects, defects within the same class may be different, whereas defects between classes may be similar. Existing methods focus only on spatial information, resulting in low detection accuracy. To alleviate these problems, this paper proposes the ECDY (EIFEM CARAFE DyHead) network to enhance the detection capability of steel defects. We first design a feature extraction module that focuses on the edge information of feature contours. This module uses the Sobel operator to extract the edge information of a feature and fuses it with the overall spatial information so that richer semantic information can be obtained. The module has improved accuracy in the YOLOv5, YOLOv8, and YOLOv10 versions, and uses fewer parameters and calculations. In particular, in YOLOv8x, mAP@0.5 increased by 2.5%, and the number of parameters was reduced by 12.4 M. Second, to retain the detailed information in the feature pyramid, and to better reconstruct features, we choose the content-aware reassembly feature method (CARAFE) as the upsampling method. Finally, the detection head was replaced with a dynamic unified detection head (DyHead) to adapt to different defect sizes and different task requirements. Compared with YOLOv8s, the proposed method improves precision by 1.6%, recall by 4%, and mAP@0.5 by 4%. This value is 4.2% higher than the mAP@0.5 of the current SOTA model RT-DETR-L in the field of object detection and has 23.2 M fewer parameters.Keywords
Funding Information
- Ministry of Education Humanities and Social Science Research Project (No. 23YJAZH034)
- the Postgraduate Research and Practice Innovation Program of Jiangsu Province (No. SJCX_2147, SJCX_2148)
- National Computer Basic Education Research Project in Higher Education Institutions (No. 2024-AFCEC-056, 2024-AFCEC-057)
- Enterprise Collaboration Project (No. Z421A22349, Z421A22304, Z421A210045)
This publication has 20 references indexed in Scilit:
- The transmission line foreign body detection algorithm based on weighted spatial attentionFrontiers in Neurorobotics, 2024
- Cross-dimensional feature attention aggregation network for cloud and snow recognition of high satellite imagesNeural Computing and Applications, 2024
- Overview of temporal action detection based on deep learningArtificial Intelligence Review, 2024
- A deep learning model for steel surface defect detectionComplex & Intelligent Systems, 2023
- Edge Detection via Fusion Difference ConvolutionSensors, 2023
- FDD: a deep learning–based steel defect detectorsThe International Journal of Advanced Manufacturing Technology, 2023
- MSFT-YOLO: Improved YOLOv5 Based on Transformer for Detecting Defects of Steel SurfaceSensors, 2022
- DCC-CenterNet: A rapid detection method for steel surface defectsMeasurement, 2022
- Development of a YOLO-V3-based model for detecting defects on steel strip surfaceMeasurement, 2021
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016