Faster RER-CNN: application to the detection of vehicles in aerial images

Jean Ogier du Terrail, Frédéric Jurie

Abstract

Faster RER-CNN adapts the classic Faster R-CNN framework to detect rotated objects in aerial imagery by introducing oriented bounding boxes and rotation-equivariant region proposals. By predicting vehicle orientation and location simultaneously, the model achieves state-of-the-art results on the VeDAI dataset and significantly improves recall compared to standard axis-aligned detectors.

Introduction: The Challenge of Aerial Perspectives

Most modern object detectors, such as the original Faster R-CNN, were designed for terrestrial photography where objects like pedestrians or animals are generally upright. These models rely on axis-aligned (vertical) bounding boxes. However, when viewed from a nadir perspective via drones or satellites, vehicles can be oriented in any direction.

Forcing a rectangular car into a vertical box creates two significant problems. First, a diagonal car in a vertical box includes a substantial amount of "background" noise (e.g., road, grass), which can confuse the classifier. Second, in dense environments like parking lots, axis-aligned boxes overlap significantly even if the vehicles themselves do not, making it nearly impossible for the model to distinguish individual instances.

Comparison between axis-aligned (left) and oriented (right) bounding boxes.

While semantic segmentation offers a pixel-level solution, it is often data-intensive and computationally expensive. The authors propose a middle ground: Oriented Bounding Boxes (OBB) through the Faster RER-CNN (Faster Rotation Equivariant Regions CNN) framework.

Methodology: Faster Rotation Equivariant Regions

The core innovation of Faster RER-CNN lies in three specific adaptations to the standard pipeline:

1. Rotated Anchors

In the Region Proposal Network (RPN), instead of just testing different scales and aspect ratios, the model tests anchors at multiple orientations spanning $[0, \pi]$. This ensures the network searches for vehicles at every possible angle from the initial proposal stage.

2. Oriented RoI Pooling

Standard RoI pooling warps a vertical region into a fixed-size feature map. The authors developed an oriented version that extracts features from a rotated rectangle. To maintain computational efficiency, they utilized a coarse quantization method—checking pixel membership via dot products—rather than slower bilinear interpolation.

3. Stable Periodic Loss Function

Regressing angles is mathematically challenging because $0^\circ$ and $360^\circ$ represent the same orientation. Furthermore, a rectangle possesses 4-way symmetry. The authors engineered a specific regression cost that handles this periodicity, preventing the model from "spinning" its predictions during training.

Geometric calculation of the intersection area between two rotated rectangles.

To calculate the Intersection over Union (IoU) for rotated rectangles, the authors implemented the Sutherland-Hodgman algorithm, prioritizing a robust geometric approach over simpler approximations to handle the complexity of overlapping rotated polygons.

Experimental Evaluation

The model was evaluated on three major aerial imagery benchmarks: VeDAI (Salt Lake City), Munich 3k, and GoogleEarth.

  • State-of-the-Art Performance: Faster RER-CNN achieved an Average Precision (AP) of 80.2% on the VeDAI dataset, outperforming previous methods like FCN (77.8%) and the baseline Faster R-CNN (77.7%).
  • Recall Improvement: On the Munich 3k dataset, the oriented framework achieved an AP of 87.14% compared to the baseline's 85.59%. Notably, using rotated anchors in the RPN led to a 48% improvement in recall before regression, suggesting that vertical anchors are fundamentally ill-suited for aerial tasks.
  • Classification Synergy: A key finding was that performing detection and orientation inference simultaneously improves classification accuracy. By "straightening" the vehicle before classification, the network reduces the visual variety the classifier must learn.

Conclusion

The primary trade-off for this increased accuracy is computational speed; Faster RER-CNN is approximately twice as slow as the baseline during training and inference due to the complexity of rotated IoU calculations. Future work includes integrating "Rotated RoI Align" and optimizing implementation to close the speed gap. Despite the overhead, the model provides much tighter fits for vehicles, offering superior metadata for downstream tasks like vehicle type identification.

Summary updated

BibTeX
@misc{terrail2018faster,
  author = {Jean Ogier du Terrail and Frédéric Jurie},
  title = {{Faster RER-CNN: application to the detection of vehicles in aerial images}},
  year = {2018},
  eprint = {1809.07628},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.07628},
}
Figure