Next Article in Journal
Convex Regularized Recursive Minimum Error Entropy Algorithm
Previous Article in Journal
Secure Multiparty Computation Using Secure Virtual Machines
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Steel Surface Defect Detection Algorithm Based on YOLOv8

1
School of Cyber Science and Engineering, Zhengzhou University, Zhengzhou 450001, China
2
School of Civil Engineering, Zhengzhou University, Zhengzhou 450001, China
3
China Construction Seventh Engineering Bureau Co., Ltd., Zhengzhou 450000, China
*
Authors to whom correspondence should be addressed.
Electronics 2024, 13(5), 988; https://doi.org/10.3390/electronics13050988
Submission received: 25 January 2024 / Revised: 3 March 2024 / Accepted: 4 March 2024 / Published: 5 March 2024

Abstract

To improve the accuracy of steel surface defect detection, an improved model of multi-directional optimization based on the YOLOv8 algorithm was proposed in this study. First, we innovate the CSP Bottleneck with the two convolutions (C2F) module in YOLOv8 by introducing deformable convolution (DCN) technology to enhance the learning and expression ability of complex texture and irregular shape defect features. Secondly, the advanced Bidirectional Feature Pyramid Network (BiFPN) structure is adopted to realize the weight distribution learning of input features of different scales in the feature fusion stage, allowing for more effective integration of multi-level feature information. Next, the BiFormer attention mechanism is embedded in the backbone network, allowing the model to adaptively allocate attention based on target features, such as flexibly and efficiently skipping non-critical areas, and focusing on identifying potentially defective parts. Finally, we adjusted the loss function from Complete-Intersection over Union (CIoU) to Wise-IoUv3 (WIoUv3) and used its dynamic non-monotony focusing property to effectively solve the problem of overfitting the low quality target bounding box. The experimental results show that the mean Average Precision (mAP) of the improved model in the task of steel surface defect detection reaches 84.8%, which depicts a significant improvement of 6.9% compared with the original YOLO8 model. The improved model can quickly and accurately locate and classify all kinds of steel surface defects in practical applications and meet the needs of steel defect detection in industrial production.
Keywords: attention mechanism; feature fusion; machine vision; steel surface defect detection attention mechanism; feature fusion; machine vision; steel surface defect detection

Share and Cite

MDPI and ACS Style

Song, X.; Cao, S.; Zhang, J.; Hou, Z. Steel Surface Defect Detection Algorithm Based on YOLOv8. Electronics 2024, 13, 988. https://doi.org/10.3390/electronics13050988

AMA Style

Song X, Cao S, Zhang J, Hou Z. Steel Surface Defect Detection Algorithm Based on YOLOv8. Electronics. 2024; 13(5):988. https://doi.org/10.3390/electronics13050988

Chicago/Turabian Style

Song, Xuan, Shuzhen Cao, Jingwei Zhang, and Zhenguo Hou. 2024. "Steel Surface Defect Detection Algorithm Based on YOLOv8" Electronics 13, no. 5: 988. https://doi.org/10.3390/electronics13050988

APA Style

Song, X., Cao, S., Zhang, J., & Hou, Z. (2024). Steel Surface Defect Detection Algorithm Based on YOLOv8. Electronics, 13(5), 988. https://doi.org/10.3390/electronics13050988

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop