To address the issues of low efficiency, and poor accuracy in current steel surface defect detection, and the challenges of large model parameters, low detection accuracy, and poor real-time performance of existing defect detection models, a lightweight steel defect detection algorithm based on YOLOv8s (EHH-YOLOv8s) is proposed. The reconstruction feature interaction module H-C2f, which successfully preserves spatial and channel features, suppresses redundant information, and improves detection accuracy and speed; the Haar wavelet downsampling (HWD) module, which expands the receptive field, reduces model complexity, and speeds up training and inference; and the lightweight EfficientViT network, which serves as the backbone network to reduce model complexity and better handle cross-scale feature information. Experimental validation on the NEU-DET and Severstal steel defect datasets shows that compared to the YOLOv8s algorithm, the EHH-YOLOv8 algorithm achieves an improvement in mean average precision (mAP) of 6.9% and 5.4%, respectively, with reductions in parameters and computations of 4.1×106 and 13.2×109, and achieves detection speed of 136 frames/s and 118 frames/s. These findings show that the algorithm strikes a superior balance between speed, lightweight design, and detection accuracy, offering a dependable reference for high precision and real-time performance on edge devices. Finally, validation on the PCB board defect dataset shows that the algorithm possesses good generalization performance.
Publications
- Article type
- Year
Year
Issue
Journal of Beijing University of Aeronautics and Astronautics 2026, 52(11): 3699-3711
Published: 08 August 2024
Downloads:0
Total 1
京公网安备11010802044758号