The automotive industry continues to develop, and the auto parts industry chain also needs to continue to upgrade. However, defects on the tubing surface can be a serious safety hazard, so defect detection is essential. Previous methods mainly rely on manual inspection, but due to the variety of surface defects, small area, small diameter and complex texture of tubing, manual inspection efficiency is low, and the accuracy is low. Faced with this challenge, the introduction of automated surface defect detection technology is imperative. This paper analyzes the characteristics and types of defects caused by automotive tubing in actual production and takes YOLOv8 as the baseline model to improve its feature extraction and fusion network part. The specific improvements are as follows: Add deformable convolution module (DCN) to the feature extraction network part of YOLOv8s. Flexibly extend the receptive field of convolution kernel to improve the accuracy of small target detection in low resolution images; The CA attention mechanism was added to the feature fusion network part of YOLOv8s. Strengthen the ability of the network to identify small target defects, so as to improve the accuracy of model detection.
|