Abstract
This study presents PWDE-YOLOv8n, an enhanced method for detecting surface corrosion in aircraft cabin sections, addressing challenges such as diverse corrosion morphologies, low background contrast, poor image quality, and detection inaccuracies. We introduce an omnidirectional gradient grayscale equalization method to improve sample quality while mitigating excessive sharpening and feature erosion. The backbone network incorporates a C2fPSB (C2f PKIModule-S-CAA Bottleneck) module, leveraging variable receptive fields to capture multi-scale features and remote context information effectively. To prevent overfitting, we implement the WOTriplet (Weight Optimized Triplet) attention mechanism, which dynamically adjusts branch weights based on input features. Furthermore, we construct a DTDLH (Dual Task Dynamically Aligned Head) detection head to align and fuse information from corrosion classification and regression tasks, addressing information loss due to insufficient interaction among detection heads. We employ EMA-SlideLoss to assign weights to the classification loss function, incorporating exponential moving averages for improved stability in scenarios with sudden threshold changes or noise outliers. Experimental results on our aircraft cabin surface corrosion dataset demonstrate that, compared to the baseline model, our improved algorithm achieves a 7% increase in mAP50 and a 9.3% increase in mAP50-95, while reducing parameters by 1.01M, model size by 2.0MB, and enhancing inference speed by 42.02 frames/s. The PWDE-YOLOv8n algorithm exhibits superior comprehensive performance compared to other object detection algorithms, effectively meeting the accuracy and speed requirements for real-time identification of aircraft cabin surface corrosion. These findings offer valuable insights for deploying models on devices with limited computational resources.
Funding Information
  • National Natural Science Foundation of China (52175461)
  • Hebei Science and Technology Innovation Project (SJMYF2022X20)
  • Tianjin Intelligent Manufacturing Special Project (20201199)

This publication has 60 references indexed in Scilit: