To address the challenges of limited computational resources, the difficulty of detecting small objects, and strict real-time requirements in autonomous UAV inspection tasks, we propose a lightweight onboard object detection framework: RSAH-RT-DETR (Real-time SDI-AIFI-HiLo RT-DETR).