journal article·2024-12-25Open access

An Improved YOLOv8 Model for Strip Steel Surface Defect Detection

Jinwen Wang, Ting Chen, Xinke Xu, Longbiao Zhao, Dijian Yuan, Yu Du, Xiaowei Guo, Ning Chen

Applied Sciences· Volume 15· Issue 1

Abstract

In the process of steel strip production, the accuracy of defect detection remains a challenge due to the diversity of defect types, complex backgrounds, and noise interference. To improve the effectiveness of surface defect detection in steel strips, we propose an enhanced detection model known as YOLOv8-BSPB. First, we propose a novel pooling layer module, SCRD, which replaces max pooling with average pooling. This module introduces the receptive field block (RFB) and deformable convolutional network version 4 (DCNv4) to obtain learnable offsets, allowing convolutional kernels to flexibly move and deform on the input feature map, thus, more effectively extracting multi-scale features. Second, we integrate a polarized self-attention (PSA) mechanism to improve the model’s feature representation and enhance its ability to focus on relevant information. Additionally, we incorporate the BAM attention mechanism after the C2f module to strengthen the model’s feature selection capabilities. A bidirectional feature pyramid network is introduced at the neck of the model to improve feature transmission efficiency. Finally, the WIoU loss function is employed to accelerate the model’s convergence speed and enhance regression accuracy. Experimental results on the NEU-DET dataset demonstrate that the improved model achieves a classification accuracy of 81.3%, an increase of 4.9% over the baseline, with a mean average precision of 86.9%. The model has a parameter count of 5.5 M and operates at 103.1 FPS. To validate the model’s effectiveness, we conducted tests on the Kaggle steel strip dataset and our custom dataset, where the average accuracy improved by 2.3% and 5.5%, respectively. The experimental results indicate that the model meets the requirements for real-time, lightweight, and portable deployment.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Advanced Neural Network Applications · Surface Roughness and Optical Measurements

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Metrology Measurement and Instrument, China Jiliang University, Hangzhou 310018, China

Zhejiang Institute of Quality Sciences, Hangzhou 310018, China

Key Laboratory of Digital Precision Measurement Technology of Zhejiang Province, Hangzhou 310018, China

Naval Research Institute, Beijing 100070, China

Funding

Natural Science Foundation of Zhejiang province · Zhejiang Provincial Administration for Market Regulation Fund

References (46)

Show source-provided references
1. New steels and steel applications for vehicles10.1016/0261-3069(91)90086-J ↗
2. Physical interpretation of machine learning-based recognition of defects for the risk management of existing bridge heritage10.1016/j.engfailanal.2023.107237 ↗
3. Sun, J., Peng, W., Ding, J., Li, X., and Zhang, D. (2018). Key intelligent technology of steel strip production through process. Metals, 8.10.3390/met8080597 ↗
4. Chu, Y., Yu, X., and Rong, X. (2024). A Lightweight Strip Steel Surface Defect Detection Network Based on Improved YOLOv8. Sensors, 24.10.3390/s24196495 ↗
5. EFS-YOLO: A lightweight network based on steel strip surface defect detection10.1088/1361-6501/ad66fe ↗
6. Research on Steel Surface Defect Detection Algorithm Based on Improved YOLOv8n10.1088/1742-6596/2832/1/012013 ↗
7. Automated Visual Defect Detection for Flat Steel Surface: A Survey10.1109/TIM.2019.2963555 ↗
8. Crack defect detection using pulsed eddy current thermal imaging based on deep transfer learning
9. A new self-reference image decomposition algorithm for strip steel surface defect detection10.1109/TIM.2019.2952706 ↗
10. On the Use of Discrete Wavelets in Implementing Defect Detection System for
11. Wire Rope Weak Defect Signal Processing Methods Based on Improved SVD and Phase Space Reconstruction10.5755/j01.itc.50.4.28105 ↗
12. A Deep Learning-based Method for Steel Strip Surface Defect Detection Using Convolutional Neural Networks (CNNs)
13. Steel Strip Surface Defect Detection Using Deep Convolutional Neural Networks (CNNs)
14. Real-Time Detection of Steel Surface Defects Using Convolutional Neural Networks and Data Augmentation
15. Artificial intelligence in structural health management of existing bridges10.1016/j.autcon.2024.105719 ↗
16. Wan, X., Zhang, X., and Liu, L. (2021). An improved VGG19 transfer learning strip steel surface defect recognition deep neural network based on few samples and imbalanced datasets. Appl. Sci., 11.10.3390/app11062606 ↗
17. Image-based surface defect detection using deep learning: A review10.1115/1.4049535 ↗
18. Lightweight-detection: The strip steel surface defect identification based on improved YOLOv5d10.1016/j.mtcomm.2024.109814 ↗
19. AFF-Net: A Strip Steel Surface Defect Detection Network via Adaptive Focusing Features10.1109/TIM.2024.3398131 ↗
20. Ribeiro, G., and Santos, V. (2024, January 2–3). Single and multi-tasked neural networks: Selection and deployment. Proceedings of the 2024 IEEE International Conference on Autonomous Robot Systems and Competitions (ICARSC), Paredes de Coura, Portugal.10.1109/ICARSC61747.2024.10535918 ↗
21. Zhao, J., Liu, S., Tao, H., and Liu, W. (2024). Slim-YOLOv8: A fast and accurate algorithm for surface defect detection of steel strips. Ironmak. Steelmak.10.1177/03019233241266717 ↗
22. Lu, J., Yu, M., and Liu, J. (2024). Lightweight strip steel defect detection algorithm based on improved YOLOv7. Sci. Rep., 14.10.1038/s41598-024-64080-x ↗
23. Yang, L., Li, M., Hu, J., and Wang, D. (2024). Steel Strip Surface Defect Detection Algorithm Based on Improved Yolov7-tiny. Comput. Eng., 1–9.
24. Steel Surface Defect Detection Using Improved Deep Learning Algorithm: ECA-SimSPPF-SIoU-Yolov510.1109/ACCESS.2024.3371584 ↗
25. Efficient Fused-Attention Model for Steel Surface Defect Detection
26. A Real-Time Steel Surface Defect Detection Approach with High Accuracy
27. Steel Surface Defect Detection Method Based on Improved YOLOX10.1109/ACCESS.2024.3374869 ↗
28. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2023, January 24). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
29. Xiong, Y., Li, Z., Chen, Y., Wang, F., Zhu, X., Luo, J., Wang, W., Lu, T., Li, H., and Qiao, Y. (2024, January 17–21). Efficient Deformable ConvNets: Rethinking Dynamic and Sparse Operator for Vision Applications. Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR52733.2024.00540 ↗
30. Liu, S., and Huang, D. (October, January 29). Receptive field block net for accurate and fast object detection. Proceedings of the European Conference on Computer Vision (ECCV), Mico Milano, Italy.
31. Park, J. (2016). BAM: Bottleneck Attention Module. arXiv.
32. Polarized self-attention: Towards high-quality pixel-wise mapping10.1016/j.neucom.2022.07.054 ↗
33. Tan, M., Pang, R., and Le, Q. (2020, January 27). EfficientDet: Scalable and Efficient Object Detection. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2019), Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
34. Tong, Z., Chen, Y., Xu, Z., and Yu, Z. (2023). Wise-iou: Bounding box regression loss with dynamic focusing mechanism. arXiv.
35. Zhao, X., He, Y., Zhang, H., Ding, Z., Zhou, C., and Zhang, K. (2024). A quality grade classification method for fresh tea leaves based on an improved YOLOv8x-SPPCSPC-CBAM model. Sci. Rep., 14.10.1038/s41598-024-54389-y ↗
36. Space to depth convolution bundled with coordinate attention for detecting surface defects10.1007/s11760-024-03122-3 ↗
37. Cheng, S., Wang, Z., Liu, S., Han, Y., Sun, P., and Li, J. (2024). Attention-Based Lightweight YOLOv8 Underwater Target Recognition Algorithm. Sensors, 24.10.3390/s24237640 ↗
38. Lang, D., and Lv, Z. (2024). A PV cell defect detector combined with transformer and attention mechanism. Sci. Rep., 14.10.1038/s41598-024-72019-5 ↗
39. Boundary-aware residual network for defect detection in strip steel products10.1007/s12530-024-09588-3 ↗
40. FCS-YOLO: An efficient algorithm for detecting steel surface defects10.1088/1361-6501/ad4410 ↗
41. Development of a YOLO-V3-based model for detecting defects on steel strip surface10.1016/j.measurement.2021.109454 ↗
42. Li, Y., Xu, S., Zhu, Z., Wang, P., Li, K., He, Q., and Zheng, Q. (2023). EFC-YOLO: An efficient surface-defect-detection algorithm for steel strips. Sensors, 23.10.3390/s23177619 ↗
43. Qin, H., Xiao, Y., Wang, Y., Chen, K., and Dong, F. (2023, January 4–7). Research on Surface Defect Detection of Steel Strip Based on Deep Learning. Proceedings of the 2023 2nd International Conference on Computing, Communication, Perception and Quantum Technology (CCPQT), Xiamen, China.10.1109/CCPQT60491.2023.00058 ↗
44. Kong, X., and Fan, W. (2024, January 29–31). Surface Defect Detection of Steel Strips based on an Improved YOLOv8. Proceedings of the 2024 5th International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT), Nanjing, China.10.1109/AINIT61980.2024.10581789 ↗
45. Sun Faster R-CNN: Towards real-time object detection with region proposal networks10.1109/TPAMI.2016.2577031 ↗
46. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y., and Berg, A.C. (2016). SSD: Single Shot MultiBox Detector, Springer.10.1007/978-3-319-46448-0_2 ↗