Multi-core contextual feature-guided algorithm for trusted detection of UAV aerial images
-
摘要:
针对复杂背景下无人机(UAV)航拍图像目标尺度分布不均匀导致检测精度低的问题,提出一种用于无人机小目标检测的多核上下文特征可信检测算法(MCCF)。在主干网络部分设计多核上下文特征引导模块,该模块利用多尺度卷积核和全局上下文注意力以实现局部细节和全局结构的特征信息融合,从而有效抑制背景噪声;提出可学习位置编码器,该编码器通过动态位置编码自适应调整目标特征的位置表示,降低了采样过程中小目标的空间位置信息损失;为有效识别复杂区域的微小目标,提出多尺度细节融合模块,融合局部空间位置信息和全局结构语义信息,以有效捕捉不同尺度目标的细粒化特征。在VisDrone2019-DET数据集和Drone数据集的实验结果表明:相较于RT-DETR模型,MCCF模型的mAP0.5分别提升了2.1%和6.8%,有效改善了无人机航拍图像目标漏检和误检的问题。
Abstract:A multi-core contextual feature trusted detection network (MCCF) is developed for unmanned aerial vehicle (UAV) tiny target detection in order to address the issue of low detection accuracy caused by uneven target scale distribution in UAV aerial photos under complicated background. Firstly, a multicore contextual feature guidance module is designed in the backbone network part, which utilises multi-scale convolutional kernel and global contextual attention in order to achieve the fusion of feature information of local details and global structure, so as to effectively suppress the background noise. Secondly, in order to minimize the loss of spatial position information of small targets during the sampling process, a learnable position encoder is suggested that dynamically modifies the position representation of target characteristics. Finally, in order to effectively identify tiny targets in complex regions, this paper proposes a multi-scale detail fusion module, which fuses local spatial position information and global structural semantic information in order to effectively capture fine-grained features of targets at different scales. Finally, the experimental results on the VisDrone2019-DET dataset and the Drone dataset show that the mAP0.5 of the MCCF model is improved by 2.1% and 6.8%, respectively, compared to the RT-DETR model, which effectively improves the problems of target leakage and misdetection in UAV aerial images.
-
表 1 VisDrone2019-DET数据集中不同改进模块的客观指标对比
Table 1. Comparison of objective metrics for different improvement modules in VisDrone2019-DET dataset
% 模型 R P mAP0.5 mAP0.5∶0.95 RT-DETR 40.8 56.5 42.5 25.7 G-MCF 41.0 57.6 43.0 26.0 G-LPE 41.5 58.0 43.6 26.4 G-MCDF 43.3 58.2 44.6 26.9 表 2 VisDrone2019数据集中不同模型的性能比较
Table 2. Performance comparison of different models in the VisDrone2019 dataset
模型 Cls Loc Dupe Bkg Miss FP FN RT-DETR 20.98 3.82 0.21 2.12 13.31 10.92 37.54 G-MCF 21.17 3.67 0.19 2.09 13.24 10.86 37.66 G-LPE 20.45 3.84 0.21 2.07 13.64 10.44 38.92 G-MCDF 20.98 3.92 0.19 2.24 13.05 10.90 37.72 表 3 VisDrone2019-DET数据集进行极端天气鲁棒性实验
Table 3. Conducting extreme weather robustness experiments on the VisDrone2019-DET dataset
算法 输入尺寸/(像素×像素) mAP0.5/% 阴雨天气 雾霾天气 风雪天气 YOLOv5-Decoder 640×640 21.5 16.4 18.9 YOLOv5-Decoder 608×608 20.0 16.2 20.0 YOLOv8-Decoder 640×640 20.9 20.3 23.5 YOLOv8-Decoder 608×608 19.6 19.1 22.3 RT-DETR 640×640 32.6 30.3 34.1 RT-DETR 704×704 35.3 33.4 36.7 本文算法 640×640 33.6 31.9 37.8 表 4 各算法在VisDrone2019-DET数据集上总体性能比较
Table 4. Overall performance comparison of different algorithms on the VisDrone2019-DET dataset
算法 基准网络 mAP/% mAP0.5/% 参数量 Faster-RCNN ResNet50 21.5 35.7 41.700×106 RetinaNet ResNet50 16.1 27.3 21.370×106 CenterNet DLA-34 12.4 22.7 25.600×106 SSD VGG-16 8.6 16.6 4.230×106 YOLOv3 MobileNet 8.1 17.7 3.750×106 YOLOv4 ResNet50 18.6 25.4 6.060×106 YOLOv5 CSPDarkNet 19.1 29.8 7.050×106 YOLOv7 CSPDarkNet 22.9 34.5 37.260×106 ATSS-FPN-DyHead ResNet50 20.4 33.8 38.910×106 TOOD ResNet50 20.4 33.9 32.400×106 DINO DETR 25.3 44.5 47.560×106 YOLOX-Tiny CSPDarkNet 14.8 27.8 5.035×106 GFL CSPDarkNet 19.3 32.1 32.279×106 RTMDet CSPDarkNet 18.4 31.2 4.876×106 RT-DETR ResNet18 32.6 42.5 21.300×106 本文算法 ResNet18 33.7 44.6 17.200×106 表 5 各算法在Drone数据集上的总体性能比较
Table 5. Overall performance comparison of different algorithms on the Drone dataset
Baseline R/% P/% mAP0.5/% mAP0.5∶0.95/% YOLOv3 41.4 82.6 52.1 30.9 YOLOv5 48.5 88.1 56.7 38.6 YOLOv6 40.4 72.0 45.2 31.7 YOLOv8 47.4 61.3 52.1 36.7 YOLOv8-Decoder 49.5 76.7 55.1 37.2 RT-DETR 64.9 87.9 76.1 51.7 本文算法 79.7 86.0 82.9 60.2 -
[1] 姚雨, 宋春林, 邵江琦. 无人机航拍军事车辆实时检测及定位算法[J]. 兵工学报, 2024, 45(S1): 354-360.Yao Y, Song C L, Shao J Q. Real-time detection and localization algorithm for military vehicles in drone aerial photography[J]. Acta Armamentarii, 2024, 45(S1): 354-360(in Chinese). [2] 张河山, 谭鑫, 范梦伟, 等. 无人机高空航拍视角下小尺度车辆精确检测方法[J]. 交通运输系统工程与信息, 2024, 24(3): 299-309.Zhang H S, Tan X, Fan M W, et al. Accurate detection method of small-scale vehicles from perspective of unmanned aerial vehicle high-altitude aerial photography[J]. Journal of Transportation Systems Engineering and Information Technology, 2024, 24(3): 299-309(in Chinese). [3] 张嘉辉, 赵威, 王子琛, 等. 基于检测和重识别的无人机行人跟踪算法[J]. 北京航空航天大学学报, 2024, 50(8): 2538-2546.Zhang J H, Zhao W, Wang Z C, et al. UAV pedestrian tracking algorithm based on detection and re-identification[J]. Journal of Beijing University of Aeronautics and Astronautics, 2024, 50(8): 2538-2546(in Chinese). [4] 冒国韬, 邓天民, 于楠晶. 基于多尺度分割注意力的无人机航拍图像目标检测算法[J]. 航空学报, 2023, 44(5): 268-278.Mao G T, Deng T M, Yu N J. Object detection in UAV images based on multi-scale split attention[J]. Acta Aeronautica et Astronautica Sinica, 2023, 44(5): 268-278(in Chinese). [5] 王殿伟, 胡里晨, 房杰, 等. 基于改进Double-Head RCNN的无人机航拍图像小目标检测算法[J]. 北京航空航天大学学报, 2024, 50(7): 2141-2149.Wang D W, Hu L C, Fang J, et al. Small target detection algorithm based on improved Double-Head RCNN for UAV aerial images[J]. Journal of Beijing University of Aeronautics and Astronautics, 2024, 50(7): 2141-2149(in Chinese). [6] 李超, 黄新宇, 王凯. 基于特征融合和自学习锚框的高分辨率图像小目标检测算法[J]. 电子学报, 2022, 50(7): 1684-1695.Li C, Huang X Y, Wang K. Small object detection of high-resolution images based on feature fusion and learnable anchor[J]. Acta Electronica Sinica, 2022, 50(7): 1684-1695(in Chinese). [7] 刘芳, 韩笑. 基于多尺度深度学习的自适应航拍目标检测[J]. 航空学报, 2022, 43(5): 463-474.Liu F, Han X. Adaptive aerial object detection based on multi-scale deep learning[J]. Acta Aeronautica et Astronautica Sinica, 2022, 43(5): 463-474(in Chinese). [8] 张娜, 戚旭磊, 包晓安, 等. 基于优化预测定位的单阶段目标检测算法[J]. 浙江大学学报(工学版), 2022, 56(4): 783-794.Zhang N, Qi X L, Bao X A, et al. Single-stage object detection algorithm based on optimizing position prediction[J]. Journal of Zhejiang University (Engineering Science), 2022, 56(4): 783-794(in Chinese). [9] 曹磊, 王强, 史润佳, 等. 基于改进RPN的Faster-RCNN网络SAR图像车辆目标检测方法[J]. 东南大学学报(自然科学版), 2021, 51(1): 87-91.Cao L, Wang Q, Shi R J, et al. Method for vehicle target detection on SAR image based on improved RPN in Faster-RCNN[J]. Journal of Southeast University (Natural Science Edition), 2021, 51(1): 87-91(in Chinese). [10] Girshick R, Donahue J, Darrell T, et al. Rich feature hierarchies for accurate object detection and semantic segmentation[C]// Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2014: 580-587. [11] Ren S Q, He K M, Girshick R, et al. Faster R-CNN: towards realtime object detection with region proposal networks[C]//Proceedings of the Advances in Neural Information Processing Systems. Red Hook: Curran Associates, 2015, 28: 91-99. [12] He K M, Gkioxari G, Dollar P, et al. Mask R-CNN[C]//Proceedings of the IEEE International Conference on Computer Vision. Piscataway: IEEE, 2017: 2961-2969. [13] Redmon J, Divvala S, Girshick R, et al. You only look once: unified, real-time object detection[C]// Preceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2016: 779-788. [14] Redmon J, Farhadi A. YOLO9000: better, faster, stronger[C]// Preceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2017: 6517-6525. [15] Redmon J, Farhadi A. YOLOv3: an incremental improvement[EB/OL]. (2018-04-08)[2024-07-18]. https://arxiv.org/abs/1804.02767. [16] Liu W, Anguelov D, Erhan D, et al. SSD: single shot MultiBox detector[M]// Computer Vision-ECCV 2016. Cham: Springer International Publishing, 2016: 21-37. [17] Tan M X, Pang R M, Le Q V. EfficientDet: scalable and efficient object detection[C]// Preceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2020: 10778-10787. [18] Zhang S F, Wen L Y, Bian X, et al. Single-shot refinement neural network for object detection[C]// Preceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2018: 4203-4212. [19] Wang X R, Li W H, Guo W, et al. SPB-YOLO: an efficient real-time detector for unmanned aerial vehicle images[C]// Preceedings of the 2021 International Conference on Artificial Intelligence in Information and Communication. Piscataway: IEEE Press, 2021: 99-104. [20] 薛珊, 卢涛, 吕琼莹, 等. 基于多尺度融合和轻量化网络的无人机目标检测算法[J]. 湖南大学学报(自然科学版), 2023, 50(8): 82-93.Xue S, Lu T, Lyu Q Y, et al. Drone target detection algorithm based on multi-scale fusion and lightweight network[J]. Journal of Hunan University (Natural Sciences), 2023, 50(8): 82-93(in Chinese). [21] Liu M J, Wang X H, Zhou A J, et al. UAV-YOLO: small object detection on unmanned aerial vehicle perspective[J]. Sensors, 2020, 20(8): 2238. [22] 刘婷婷, 苗华, 李琳, 等. 融合场景上下文的轻量级目标检测网络[J]. 激光与光电子学进展, 2021, 58(20): 2010005.Liu T T, Miao H, Li L, et al. Lightweight target detection network integrating scene context[J]. Laser & Optoelectronics Progress, 2021, 58(20): 2010005(in Chinese). [23] 韩俊, 袁小平, 王准, 等. 基于YOLOv5s的无人机密集小目标检测算法[J]. 浙江大学学报(工学版), 2023, 57(6): 1224-1233.Han J, Yuan X P, Wang Z, et al. UAV dense small target detection algorithm based on YOLOv5s[J]. Journal of Zhejiang University (Engineering Science), 2023, 57(6): 1224-1233(in Chinese). [24] Yu F, Koltun V, Funkhouser T. Dilated residual networks[C]// Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2017: 636-644. [25] Aswani A, Shazeer N, Parmar N, et al. Attention is all you need[EB/OL]. (2023-08-02)[2024-07-18]. https://arxiv.org/abs/1706.03762. [26] Yu F, Koltun V. Multi-scale context aggregation by dilated convolutions[EB/OL]. (2016-04-30)[2024-07-18]. https://arxiv.org/abs/1511.07122. [27] Dai J F, Qi H Z, Xiong Y W, et al. Deformable convolutional networks[C]// Proceedings of the 2017 IEEE International Conference on Computer Vision. Piscataway: IEEE Press, 2017: 764-773. [28] Hu J, Shen L, Sun G. Squeeze-and-excitation networks[C]// Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2018: 7132-7141. [29] Li Y X, Hou Q B, Zheng Z H, et al. Large selective kernel network for remote sensing object detection[C]// Proceedings of the 2023 IEEE/CVF International Conference on Computer Vision. Piscataway: IEEE Press, 2024: 16748-16759. [30] Dosovitskiy A, Beyer L, Kolesnikov A, et al. An image is worth 16x16 words: Transformers for image recognition at scale[EB/OL]. (2021-06-03)[2024-07-18]. https://arxiv.org/abs/2010.11929. [31] Peng Z L, Huang W, Gu S Z, et al. Conformer: local features coupling global representations for visual recognition[C]// Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision. Piscataway: IEEE Press, 2022: 357-366. [32] 吴一全, 童康. 基于深度学习的无人机航拍图像小目标检测研究进展[J]. 航空学报, 2025, 46(3): 174-200.Wu Y Q, Tong K. Research advances on deep learning-based small object detection in UAV aerial images[J]. Acta Aeronautica et Astronautica Sinica, 2025, 46(3): 174-200(in Chinese). [33] 陈金林, 吴一全, 苑玉彬. 无人机视角下目标检测的YOLO系列算法研究进展[J]. 北京航空航天大学学报, 2026, 52(10): 3509-3534.Chen J L, Wu Y Q, Yuan Y B. Research progress of YOLO series algorithms for target detection under UAV viewpoint[J]. Journal of Beijing University of Aeronautics and Astronautics, 2026, 52(10): 3509-3534(in Chinese). -


下载: