Remote Sensing (Jun 2023)

Improving YOLOv7-Tiny for Infrared and Visible Light Image Object Detection on Drones

  • Shuming Hu,
  • Fei Zhao,
  • Huanzhang Lu,
  • Yingjie Deng,
  • Jinming Du,
  • Xinglin Shen

DOI
https://doi.org/10.3390/rs15133214
Journal volume & issue
Vol. 15, no. 13
p. 3214

Abstract

Read online

To address the phenomenon of many small and hard-to-detect objects in drone images, this study proposes an improved algorithm based on the YOLOv7-tiny model. The proposed algorithm assigns anchor boxes according to the aspect ratio of ground truth boxes to provide prior information on object shape for the network and uses a hard sample mining loss function (HSM Loss) to guide the network to enhance learning from hard samples. This study finds that the aspect ratio difference of vehicle objects under drone perspective is more obvious than the scale difference, so the anchor boxes assigned by aspect ratio can provide more effective prior information for the network than those assigned by size. This study evaluates the algorithm on a drone image dataset (DroneVehicle) and compares it with other state-of-the-art algorithms. The experimental results show that the proposed algorithm achieves superior average precision values on both infrared and visible light images, while maintaining a light weight.

Keywords