Detecting paint film defects on high-speed train (HST) body is a crucial step towards zero-defect manufacturing (ZDM). The effectiveness of defect detection in industrial environments, however, is significantly impacted by factors such as high reflection noise, weak defect features, small defect size, and various defect scales, resulting in unsatisfactory detection accuracy. To address these challenges, this paper proposes a technical framework for the accurate detection of paint film defects on HST body, encompassing three stages. A reflection detection removal method that takes into account the reflection transition region as well as the preservation of defect features is at first used to reduce reflection noise interference. Then a lightness-weighted adaptive image enhancement algorithm based on the fractional order differentiation is utilized to enhance the features of paint film defects while avoiding the introduction of reflection noise. Finally, an improved YOLOv5 algorithm, incorporating attention mechanism feature extraction and multi-scale feature fusion, is employed to detect and classify paint film defects. Experimental results demonstrate that the proposed framework effectively reduces the reflection in paint film images, and enhances the contrast between paint film defects and the background, with a mean average precision (mAP) for defect detection reaching up to 90.13%. This work serves as a valuable reference for the automated detection of defects arising in the painting process of HST body.
Read full abstract