RTM3D: Real-Time Monocular 3D Detection from Object Keypoints for Autonomous Driving

Peixuan Li, Huaici Zhao, Pengfei Liu, Feidao CaoECCV 2020

Abstract

RTM3D is a novel real-time monocular 3D object detection framework that achieves state-of-the-art accuracy by reformulating 3D detection as a 2D keypoint localization problem. By predicting nine perspective points of a 3D bounding box and solving a geometric optimization problem, the system achieves speeds exceeding 24 FPS, meeting the stringent latency requirements of autonomous driving systems.

Introduction

Accurate 3D object detection is a cornerstone of autonomous vehicle safety. While LiDAR provides high-fidelity depth data, its cost is often prohibitive for mass-market applications. Monocular cameras offer a cost-effective alternative, yet recovering 3D information from a single 2D image is a mathematically ill-posed challenge due to the lack of explicit depth.

Existing monocular methods typically suffer from two main drawbacks. First, many rely on fitting a 3D box within the four edges of a 2D bounding box. This provides minimal geometric constraints, where minor 2D detection errors lead to significant 3D localization failures. Second, high-accuracy models often utilize multi-stage pipelines that are too slow for real-time deployment. RTM3D addresses these issues by shifting from "box-fitting" to a robust "keypoint-fitting" paradigm.

Methodology

Keypoint Prediction

The core innovation of RTM3D is the prediction of nine perspective keypoints: the eight corners of the 3D cuboid and its geometric center, all projected into the 2D image space. This approach provides 18 geometric constraints (x and y coordinates for each point), creating a significantly more stable foundation for 3D recovery compared to the standard four-edge approach.

The nine perspective keypoints of a 3D bounding box projected onto the 2D image space.

Architecture: One-Stage and Anchor-Free

RTM3D utilizes a single-shot, fully convolutional architecture. The pipeline consists of:

  • Backbone: ResNet-18 or DLA-34 for efficient feature extraction.
  • Keypoint Feature Pyramid Network (KFPN): A novel multi-scale approach that uses "soft-weighted" pyramids to detect scale-invariant keypoints. This prevents adjacent points from blurring together in the feature map, preserving spatial precision.
  • Detection Head: This component predicts heatmaps for the main center and vertices, local offsets, and "priors" such as 3D dimensions and orientation (using a Multi-Bin method).

Geometric Optimization

The final 3D bounding box is not a direct raw output. Instead, the system formulates an energy minimization problem. It combines the predicted 2D keypoints with the 3D priors (dimensions and orientation) and employs the Gauss-Newton or Levenberg-Marquardt algorithm to find the 3D coordinates that best satisfy the perspective projection.

Geometric relationship between the 3D cuboid dimensions and its projected 2D keypoints.

Evaluation and Results

The model was evaluated on the KITTI 3D detection benchmark, comprising 7,481 training and 7,518 test images.

  • Real-Time Performance: Utilizing a ResNet-18 backbone, RTM3D achieves an inference time of approximately 0.035s per image (~28 FPS), making it over 100x faster than early monocular methods like Mono3D.
  • Accuracy: RTM3D outperformed most image-only competitors on the KITTI benchmark, particularly in "Moderate" and "Hard" categories where objects are frequently occluded or distant.
  • Efficiency: The system achieves state-of-the-art results without requiring auxiliary data such as CAD models, pre-computed depth maps, or LiDAR pre-training.

Discussion and Key Insights

By utilizing 9 points instead of 4 edges, the system gains resilience to noise. If specific corner predictions are imperfect, the remaining points act as anchors during optimization, preventing catastrophic 3D localization errors. RTM3D leverages classical geometry for the heavy lifting of 3D reconstruction, using the neural network primarily to identify reliable 2D "clues."

While the system is highly efficient, performance is sensitive to the backbone architecture; ResNet-18 is faster, but DLA-34 provides superior accuracy. Future work may address extreme object truncation and temporal consistency across video frames to further stabilize 3D bounding boxes.

Summary updated

BibTeX
@inproceedings{li2020rtm,
  author = {Peixuan Li and Huaici Zhao and Pengfei Liu and Feidao Cao},
  title = {{RTM3D: Real-Time Monocular 3D Detection from Object Keypoints for Autonomous Driving}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58580-8\_38},
}
Figure