[Paper Review] Analysis and Adaptation of YOLOv4 for Object Detection in Aerial Images
This paper adapts YOLOv4 for aerial object detection using transfer learning on the VisDrone DET dataset, achieving 45.64% mAP and 8.7 FPS inference speed on a Tesla K80. The model excels at detecting small, truncated, and occluded objects in high-density aerial scenes, outperforming state-of-the-art detectors in speed and accuracy for drone-based real-time applications.
The recent and rapid growth in Unmanned Aerial Vehicles (UAVs) deployment for various computer vision tasks has paved the path for numerous opportunities to make them more effective and valuable. Object detection in aerial images is challenging due to variations in appearance, pose, and scale. Autonomous aerial flight systems with their inherited limited memory and computational power demand accurate and computationally efficient detection algorithms for real-time applications. Our work shows the adaptation of the popular YOLOv4 framework for predicting the objects and their locations in aerial images with high accuracy and inference speed. We utilized transfer learning for faster convergence of the model on the VisDrone DET aerial object detection dataset. The trained model resulted in a mean average precision (mAP) of 45.64% with an inference speed reaching 8.7 FPS on the Tesla K80 GPU and was highly accurate in detecting truncated and occluded objects. We experimentally evaluated the impact of varying network resolution sizes and training epochs on the performance. A comparative study with several contemporary aerial object detectors proved that YOLOv4 performed better, implying a more suitable detection algorithm to incorporate on aerial platforms.
Motivation & Objective
- Address the challenge of detecting small, densely packed, truncated, and occluded objects in aerial images captured by UAVs.
- Improve detection accuracy and inference speed for real-time deployment on resource-constrained aerial platforms.
- Evaluate the effectiveness of YOLOv4 for aerial detection by comparing it with contemporary detectors on the VisDrone dataset.
- Investigate the impact of input resolution and training epochs on YOLOv4 performance for aerial object detection.
- Demonstrate the utility of transfer learning and data augmentation in enhancing YOLOv4’s robustness to scale and occlusion variations.
Proposed method
- Fine-tuned YOLOv4 using transfer learning with ImageNet-pretrained weights to accelerate convergence on the VisDrone DET dataset.
- Employed multi-scale feature fusion via PANet and spatial pyramid pooling (SPP) to enhance receptive field and feature representation.
- Applied a suite of data augmentation techniques (Bag of Freebies) including mixup, mosaic, and random scaling to improve generalization and robustness.
- Trained the model at varying input resolutions (416×416 to 1120×1120) to analyze trade-offs between accuracy and inference speed.
- Used mean average precision (mAP) at IoU=0.5 and inference speed (FPS) as primary evaluation metrics on the VisDrone test set.
- Optimized hyperparameters including learning rate, batch size, and number of training epochs to maximize mAP while maintaining real-time performance.
Experimental results
Research questions
- RQ1Can YOLOv4 achieve high accuracy and real-time inference speed for aerial object detection on the VisDrone dataset?
- RQ2How does input resolution affect the mAP and inference speed of YOLOv4 in aerial detection tasks?
- RQ3To what extent does transfer learning improve convergence and performance on small-object-dense aerial datasets?
- RQ4How well does YOLOv4 detect truncated and occluded objects compared to other state-of-the-art detectors?
- RQ5What is the optimal balance between model accuracy and inference speed for deployment on UAVs with limited computational resources?
Key findings
- YOLOv4 achieved a mean average precision (mAP) of 45.64% on the VisDrone DET dataset, outperforming several contemporary detectors in both accuracy and speed.
- The model achieved an inference speed of 8.7 FPS on a Tesla K80 GPU, demonstrating real-time feasibility for UAV deployment.
- Increasing input resolution from 416×416 to 768×768 significantly improved detection of small objects, increasing mAP from 33.06% to 45.64%.
- The model successfully detected 9.92% of 'person' and 8.91% of 'bicycle' instances at 416×416 resolution, indicating improved small-object detection after resolution and architecture optimization.
- YOLOv4 outperformed two-stage detectors like ACM-OD and DPNet-ensemble in inference speed, achieving 8.7 FPS compared to their significantly lower speeds.
- Despite excluding predictions for objects with >50% truncation (a limitation in the VisDrone evaluation), YOLOv4 still achieved superior mAP, indicating strong robustness to truncation and occlusion.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.