| Time: 2026-11-23 | Counts: |
Dai F Y, Wang W H, Feng Z H,et al.Target defect detection method combining improved YOLOv8 and SURF[J].Journal of Henan Polytechnic University(Natural Science) ,2027,46(1):136-146.
doi:10.16186/j.cnki.1673-9787.2024120005
Received:2024/12/02
Revised:2025/03/13
Published:2026/11/23
Target defect detection method combining improved YOLOv8 and SURF
Dai Fengyan1, Wang Weihao1, Feng Zihang1, Wang Ling2, Wang Ziqiang1
1.College of Engineering, Beijing Institute of Petrochemical Technology, Beijing 102617, China;2.College of Engineering, China Agricultural University, Beijing 100083, China
Abstract: Objectives Aiming at the problem that the inspection of wiring assembly defects in high-speed rail power distribution cabinets has long relied on manual visual inspection, which suffers from low detection efficiency and a high miss rate, a target defect detection method combining improved YOLOv8 and SURF is proposed. The method enables real-time monitoring of products on production lines and timely removal of defective items, and its effectiveness is validated through a case study on the circuit inspection of a high-speed railway power distribution cabinet.Methods A non-contact infrared image acquisition device with adjustable height and angle is designed for collecting images of the power distribution cabinet. The improved YOLOv8 model is used to rapidly identify and locate defect regions in the cabinet circuits, while the SURF algorithm provides robust template matching capability for precise defect localization. First, based on the original YOLOv8 architecture, the model is improved by incorporating a FasterNet structure in the Backbone module to enhance detection speed without compromising accuracy, and comparisons are made with ResNet and ResNeXt models. Second, a Squeeze-and-Excitation (SE) attention mechanism is added to the Neck module, and Grad-CAM is used to visualize the feature extraction performance. Finally, an enhanced loss function, MSD-ECIOU, is proposed to replace the original CIOU loss function. Training with this new loss function brings the predicted defect regions closer to the ground-truth boxes, further improving detection accuracy. Results Experimental comparisons on a power distribution cabinet circuit dataset show that the improved YOLOv8 model achieves a mean average precision ( mAP ) of 90.0%,which is 2.4% higher than that of the original YOLOv8.Conclusions The improved model achieves higher recognition accuracy while maintaining fast detection speed. In addition, the SURF-based registration and difference method enables precise matching of defect regions, allowing rapid and accurate circuit defect detection. This approach promotes automation in circuit defect inspection and significantly improves the inspection efficiency of power distribution cabinets.
Key words:power distribution cabinet;defect detection;YOLOv8;SURF model;target detection;image acquisition device