3D Bounding Box Estimation Using Deep Learning and Geometry

Arsalan Mousavian, Dragomir Anguelov, John Flynn, Jana Kosecka

Abstract

We present a method for 3D object detection and pose estimation from a single image. In contrast to current techniques that only regress the 3D orientation of an object, our method first regresses relatively stable 3D object properties using a deep convolutional neural network and then combines these estimates with geometric constraints provided by a 2D object bounding box to produce a complete 3D bounding box. The first network output estimates the 3D object orientation using a novel hybrid discrete-continuous loss, which significantly outperforms the L2 loss. The second output regresses the 3D object dimensions, which have relatively little variance compared to alternatives and can often be predicted for many object types. These estimates, combined with the geometric constraints on translation imposed by the 2D bounding box, enable us to recover a stable and accurate 3D object pose. We evaluate our method on the challenging KITTI object detection benchmark both on the official metric of 3D orientation estimation and also on the accuracy of the obtained 3D bounding boxes. Although conceptually simple, our method outperforms more complex and computationally expensive approaches that leverage semantic segmentation, instance level segmentation and flat ground priors and sub-category detection. Our discrete-continuous loss also produces state of the art results for 3D viewpoint estimation on the Pascal 3D+ dataset.

Introduction

While 2D object detection has reached high levels of accuracy, 3D detection from a single camera view remains a significant challenge due to the inherent loss of depth information. For applications like autonomous driving or robotics, understanding an object's full 6-DoF pose and physical dimensions is critical. Existing methods often struggle with stability when regressing 3D coordinates directly or rely on computationally expensive pipelines involving semantic segmentation or extensive CAD model libraries. This paper proposes a simpler, more efficient approach that leverages high-quality 2D detectors to anchor 3D estimation through geometric constraints.

Methodology

The proposed pipeline consists of three main stages: 2D detection, deep regression of object properties, and geometric constraint solving.

2D Detection and Property Regression

The process begins with a standard 2D detector (e.g., MS-CNN) to generate a 2D bounding box. A CNN then processes the image crop within this box to predict physical dimensions ($D$) and local orientation ($\theta$).

A key technical contribution is the MultiBin module for orientation estimation. Instead of regressing a single angle, which is problematic due to periodicity and visual ambiguity, the network discretizes orientation into $n$ overlapping bins. It predicts the probability of the angle falling into a specific bin and a residual correction for that bin.

Local orientation ($\theta_l$) vs. global orientation ($\theta$) relative to the camera ray.

Crucially, the network learns to predict local orientation ($\theta_l$), which is the angle relative to the ray from the camera to the object center. This is more consistent with the visual features observed in the image crop than the global heading ($\theta$).

Geometric Constraints

The final step uses the "tight fit" constraint: the projected 3D bounding box must be bounded by the 2D detection box. This relationship creates a system of linear equations that allows for the recovery of the object's 3D translation ($T$) relative to the camera.

Geometric constraints showing how the 3D box must fit tightly within the 2D detection window across various object views.

Key Insights

  • Stability of Dimensions: Physical dimensions of common object categories (cars, vans) have relatively low variance, making them easier for a CNN to regress than absolute distance.
  • Implicit Attention: Analysis shows the network naturally focuses on informative features like tires and headlights to determine orientation.
  • Efficiency: By reducing the 3D estimation to a system of linear equations, the method remains computationally efficient and suitable for real-time use.

Results

The method was evaluated on the KITTI benchmark and Pascal 3D+. On KITTI, it achieved state-of-the-art orientation estimation (AOS) scores, with an error of only $3^\circ$ for easy car samples. The MultiBin module also set new benchmarks for viewpoint estimation on Pascal 3D+, demonstrating robustness across 12 object categories.

Conclusion

This approach demonstrates that combining deep learning for stable property regression with classical geometric constraints is a powerful strategy for 3D pose estimation. While performance is currently limited by the quality of 2D detections and the availability of training data for rarer classes like cyclists, the method offers a computationally lightweight alternative to lidar-based or complex segmentation-based systems. Future work may involve incorporating temporal data from video or stereo imagery to further enhance depth accuracy.

Summary updated

BibTeX
@inproceedings{mousavian2017d,
  author = {Arsalan Mousavian and Dragomir Anguelov and John Flynn and Jana Kosecka},
  title = {{3D Bounding Box Estimation Using Deep Learning and Geometry}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=r1ZOqp-uZH},
}
Figure