Welcome to Francis Academic Press

Academic Journal of Computing & Information Science, 2023, 6(12); doi: 10.25236/AJCIS.2023.061202.

Small Object Detection Algorithm in Drone Aerial Images Based on Improved YOLOv5

Author(s)

Feng Fei, Hu Yu

Corresponding Author:
Feng Fei
Affiliation(s)

College of Big Data Engineering, Kaili University, Kaili, China

Abstract

In response to the low accuracy of conventional object detection algorithms in small object detection during drone aerial missions, this paper proposes an improved YOLOv5 algorithm for small object detection. Firstly, we introduced a 160x160 small object detection head and removed the 20x20 large object detection head, adopting a strategy of fusing feature maps of P2, P3, and P4 scales to enhance small object detection performance. Secondly, by eliminating the P5 scale network layers in the backbone network, we strengthened the high-order semantic information of the P4 layer. Finally, we utilized adaptive spatial feature fusion technology to replace the direct concatenation method in the Neck network for merging different scale feature maps, optimizing the fusion effect of feature maps of different scales. The experimental results on the VisDrone2019 small object dataset show that, compared to the original YOLOv5, the proposed algorithm in this paper achieved significant improvements of 7.3%, 7.1%, and 9.2% in Precision, Recall, and [email protected], respectively. Furthermore, the model's parameter quantity was reduced by 40%, indicating that the improved model presented in this paper has superior performance in drone small object detection tasks and is highly practical.

Keywords

YOLOv5, Aerial Images, Small Object Detection, Adaptive Spatial Feature Fusion

Cite This Paper

Feng Fei, Hu Yu. Small Object Detection Algorithm in Drone Aerial Images Based on Improved YOLOv5. Academic Journal of Computing & Information Science (2023), Vol. 6, Issue 12: 12-19. https://doi.org/10.25236/AJCIS.2023.061202.

References

[1] Dalal N, Triggs B. Histograms of oriented gradients for human detection[C]. 2005 IEEE computer society conference on computer vision and pattern recognition (CVPR'05). IEEE, 2005, 1: 886-893. 

[2] Viola P, Jones M. Rapid object detection using a boosted cascade of simple features[C]. Proceedings of the 2001 IEEE computer society conference on computer vision and pattern recognition. CVPR 2001. IEEE, 2001, 1: I-I.

[3] Li Xiaolin, Liu Dadong, Liu Xinman, et al. Improved YOLOv5 Algorithm for Drone Aerial Image Object Detection [J/OL]. Computer Engineering and Applications.2023:1-13. http://kns.cnki.net/kcms/ detail/11.2127.TP.20231013.0942.002.html.

[4] Kisantal M, Wojna Z, Murawski J, et al. Augmentation for small object detection[J]. arXiv preprint arXiv:1902.07296, 2019.

[5] Liu S, Qi L, Qin H, et al. Path aggregation network for instance segmentation[C] //Proceedings of the IEEE conference on computer vision and pattern recognition. 2018: 8759-8768.

[6] Zhu X, Lyu S, Wang X, et al. TPH-YOLOv5: Improved YOLOv5 based on transformer prediction head for object detection on drone-captured Scenarios[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision. 2021: 2778-2788

[7] Vaswani A, Shazeer N, Parmar N, et al. Attention Is All You Need[J]. arXiv preprint arXiv: 1706.03762, 2017.

[8] Yang C, Huang Z, Wang N. QueryDet: Cascaded sparse query for accelerating high-resolution small object detection[C]//Proceedings of the IEEE/CVF Conference on computer vision and pattern recognition. 2022: 13668-13677.

[9] Chen Jiahui, Wang Xiaohong. Improved YOLOv5 Algorithm for Dense Small Object Detection in Drone Aerial Images [J/OL]. Computer Engineering and Applications.2023:1-11.http://kns.cnki.net /kcms/ detail/11.2127.TP.20230901.1731.002.html.

[10] Lin T Y, Dollár P, Girshick R, et al. Feature pyramid networks for object detection[C]// Proceedings of the IEEE conference on computer vision and pattern recognition. 2017: 2117-2125.

[11] Liu S, Qi L, Qin H, et al. Path aggregation network for instance segmentation[C]//Proceedings of the IEEE conference on computer vision and pattern recognition. 2018: 8759-8768.

[12] Wang Haoxue, Cao Jie, Qiu Cheng, Liu Yaohui. Aerial Image Multi-Object Detection Method Based on Improved YOLOv4 [J]. Electronics Optics & Control, 2022, 29(05): 23-27.

[13] Chen Weibiao, Jia Xiaojun, Zhu Xiangbin, Ran Erfei, Xie Hao. Drone Aerial Image Object Detection Based on DSM-YOLO v5 [J]. Computer Engineering and Applications, 2023, 59(18): 226-233.

[14] Liu S, Huang D, Wang Y. Learning spatial fusion for single-shot object detection[J]. arXiv preprint arXiv:1911.09516, 2019.

[15] ZHU P, WEN L, DU D, et al. Detection and Tracking Meet Drones Challenge[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2021, 44(11): 7380-7399.

[16] REN S Q, HE K M, GIRSHICK R, et al. Faster R-CNN: Towards real-time object detection with region proposal networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 39(6): 1137-1149.

[17] Bochkovskiy A, Wang C Y, Liao H Y M. Yolov4: Optimal speed and accuracy of object detection[J]. arXi preprint arXiv:2004.10934, 2020.