Sparse and asymmetric perception transformer for lightweight insulator defect detection in complex scenes
摘要
UAV inspection of insulators is critical for power system safety, but image blur from flight jitter often obscures small-target defects. Existing models struggle with these degraded images, being either inaccurate or too computationally expensive. This necessitates a model that can efficiently and precisely detect small insulator defects in complex conditions. To solve this, we propose Sparse and Asymmetric Perception Transformer for Lightweight Insulator Defect Detection in Complex Scenes (SAP-DETR), a real-time, Transformer-based model. Its novel Focal Flow Block backbone uses sparse partial convolutions to reduce computational cost and convolutional self-attention to improve detection. In the encoder, our Multi-scale Fusion Recalibration Module weights and fuses multi-level features for better expression and contextual awareness. The Spatial Shift Aggregation Module enhances local feature perception to better capture small targets. Finally, PSConv is used for downsampling, preserving key features and capturing multi-directional information through asymmetric padding to create more expressive feature maps. Experiments demonstrate that SAP-DETR achieves high performance on the insulator defect detection dataset, with