CARLA Drone: Monocular 3D Object Detection from a Different Perspective

Johannes Meier, Luca Scalerandi, Oussema Dhaouadi, Jacques Kaiser, Nikita Araslanov, Daniel Cremers

Introduction

Monocular 3D object detection (M3D) is a critical task in computer vision, aiming to estimate the position, size, and orientation of objects from a single 2D image. While significant progress has been made in this field, the vast majority of research focuses on the "ego-centric" perspective—the view from a camera mounted on the dashboard of a car. However, as autonomous systems expand to include traffic surveillance and unmanned aerial vehicles (UAVs), models trained on car-level views often fail to generalize to these higher-altitude perspectives.

This paper introduces CDrone, a large-scale synthetic dataset designed for drone-based M3D, and GroundMix, a novel data augmentation pipeline that leverages ground-plane geometry to bridge the gap between varying camera perspectives.

The Perspective Challenge

The failure of car-view models when applied to drones or traffic cameras stems from two primary issues:

  1. Perspective Bias: Standard M3D models often rely on learned correlations specific to car-level views, such as the relationship between an object's 2D pixel height and its 3D depth. These heuristics break down when the camera is positioned at high altitudes or steep angles.
  2. Data Scarcity: While ego-centric datasets like Waymo or KITTI are abundant, there is a lack of high-quality drone-view datasets with accurate 3D annotations, making it difficult to train robust models for aerial applications.

The CDrone Dataset

To address the data scarcity, the authors developed CDrone, a synthetic dataset generated using the CARLA simulator. CDrone provides a diverse and challenging environment for M3D research:

  • Scale: Over 175,000 annotated vehicles across 42 distinct locations.
  • Diversity: Includes various weather conditions, lighting scenarios, and drone altitudes ranging from 6.9m to 60.6m.
  • Real-world Validation: The authors also utilized an in-house real-world drone dataset to confirm that improvements observed in the synthetic CDrone environment translate to physical drone footage.

GroundMix: Geometry-Aware Augmentation

The core technical contribution of this work is GroundMix, a data augmentation pipeline designed to improve model robustness across car, traffic, and drone viewpoints. GroundMix moves beyond simple 2D manipulations by incorporating 3D geometric priors:

  • Ground-Plane Fitting: The system estimates the ground plane by analyzing the positions of existing objects in the scene, creating a spatial context for augmentation.
  • 3D-Aware Patch Pasting: The pipeline identifies difficult object samples ("hard-mining") and pastes them onto physically plausible locations on the estimated ground plane. These patches are scaled according to focal length and depth to maintain visual and geometric consistency.
  • Soft Pasting: To prevent the detector from over-fitting to the sharp edges of pasted objects, GroundMix employs a multi-stage masking strategy and MixUp blending to smooth the transitions between the object and the background.
  • 2D-3D Consistent Rotation: Unlike car-view models that typically only handle 1D yaw, GroundMix accounts for the full SO(3) rotation. It applies random 2D image rotations while mathematically updating the 3D labels, teaching the model to remain invariant to the camera's tilt and roll—a necessity for drone stability.

Results and Evaluation

The authors used MonoCon, a lightweight one-stage detector, as their baseline and extended it to predict full 3D orientation. The results across three distinct perspectives demonstrate the effectiveness of GroundMix:

  • Traffic View (Rope3D): GroundMix achieved a new state-of-the-art with 47.72 AP (Average Precision) for cars at IoU=0.5, a significant improvement over the baseline MonoCon (38.07 AP).
  • Drone View (CDrone): The method drastically outperformed specialized 3D detectors like Cube R-CNN, achieving 10.70 AP compared to Cube R-CNN's 2.78 AP.
  • Car View (Waymo): Despite its focus on diverse perspectives, GroundMix remained competitive with state-of-the-art ego-centric models, proving that it does not sacrifice standard performance for versatility.
  • Efficiency: The one-stage approach maintains an inference time of approximately 40ms on an RTX 8000, making it viable for real-time drone and surveillance applications.

Conclusion

By introducing the CDrone dataset and the GroundMix augmentation pipeline, this research highlights the importance of geometric priors in overcoming perspective bias in M3D. While the current approach assumes a relatively flat ground plane and relies on synthetic data, it provides a robust framework for expanding 3D object detection beyond the dashboard. Future work will focus on handling complex, non-flat terrains and finding more effective ways to unify diverse camera perspectives into a single, universal detection model.

Summary updated

BibTeX
@inproceedings{meier2024carla,
  author = {Johannes Meier and Luca Scalerandi and Oussema Dhaouadi and Jacques Kaiser and Nikita Araslanov and Daniel Cremers},
  title = {{CARLA Drone: Monocular 3D Object Detection from a Different Perspective}},
  booktitle = {GCPR},
  year = {2024},
  doi = {10.1007/978-3-031-85187-2\_9},
}
Figure