Abstract:Aiming at the problems such as missed detection and false detection caused by complex background and small target in the current object detection algorithms for unmanned aerial vehicle (UAV) images, an improved UAV aerial photography detection algorithm based on YOLOv8, YOLOv8-A, is proposed; In order to improve the detection ability of the algorithm for small targets, a global channel-spatial attention module was used to enhance the expressive ability of the input feature map. In order to further improve the algorithm's ability to capture the context information and intrinsic features of the input data, the AIFI module of the RT-DETR algorithm was replaced in the neck structure, which is helpful for extracting the context information. In order to enhance the algorithm's positioning ability for difficult samples, the WIoU function is adopted to improve the algorithm's positioning stability for difficult samples. Experiments on the visdrone2019 dataset show that the improved algorithm has a 2.1% increase in mAP compared to the original algorithm. Compared with other mainstream algorithms, this algorithm has a better detection effect.