ToosiCubix: Monocular 3D Cuboid Labeling via Vehicle Part Annotations

Behrooz Nasihatkon, Hossein Resani, Amirreza MehrzadianarXiv 2025 · DOI

Abstract

ToosiCubix is a novel framework designed to generate high-quality 3D bounding box (cuboid) annotations for vehicles using only single 2D images and basic camera parameters. By integrating strategic user-defined part annotations with geometric optimization and probabilistic size priors, the system effectively addresses the scale ambiguity problem inherent in monocular vision. This approach eliminates the dependency on costly LiDAR or stereo camera setups, providing a fast and efficient tool for large-scale 3D data labeling in autonomous driving research.

Introduction

The development of robust autonomous driving systems relies heavily on the availability of massive 3D-annotated datasets. Traditionally, obtaining "ground truth" 3D boxes requires expensive hardware such as LiDAR or synchronized stereo cameras. While monocular images are significantly cheaper and more accessible, they present a fundamental challenge: scale ambiguity. Without depth information or a second viewpoint, it is mathematically difficult to distinguish between a small object nearby and a large object far away.

Existing monocular annotation tools often rely on rigid CAD models that lack the flexibility to represent diverse vehicle shapes or require tedious manual adjustments. ToosiCubix bridges this gap by offering a lightweight annotation pipeline that combines human intuition for feature identification with rigorous mathematical optimization to reconstruct 3D geometry.

Methods

The ToosiCubix pipeline transforms 2D user inputs into precise 3D cuboids through a multi-stage optimization process.

Figure 1: Examples of vehicle part annotations across different viewpoints, including front, side, and rear-quarter perspectives.
  1. Part Annotation: Users identify specific vehicle features, such as wheel-ground contact points, brand badges (defining the centerline), or symmetric pairs like headlights. In cases of occlusion, "direction arrows" can be drawn to indicate the vehicle's orientation.
  2. Geometric Constraints: Each annotation serves as a mathematical constraint. For instance, a wheel contact point is constrained to the ground plane at a specific lateral distance from the vehicle's longitudinal axis.
  3. Coordinate Descent Optimization: The system iteratively solves for the vehicle's pose (position and rotation) and dimensions. This involves alternating between Perspective-n-Point (PnP) estimation for pose and Least-Squares refinement for dimensions.
  4. Probabilistic Size Priors: To resolve scale ambiguity, the framework utilizes average dimensions and variances for various vehicle classes (e.g., Sedans, SUVs) derived from existing datasets. These priors act as a regularizer during optimization.
  5. Fine-tuning: A final optimization pass minimizes reprojection error, ensuring the 3D cuboid edges align accurately with the image pixels.

Key Insights and Ideas

A core strength of ToosiCubix is its reliance on lateral symmetry. The left-right symmetry of vehicles provides powerful geometric cues that stabilize 3D orientation even under significant occlusion. Furthermore, the authors distinguish between estimating the vehicle's shape and orientation (8 Degrees of Freedom) and its absolute scale/distance (the 9th DoF).

Figure 2: The vehicle coordinate system and dimension definitions (dx, dy) used to formulate geometric constraints and solve for the 3D cuboid.

The study found that while geometric constraints are highly effective for the first 8 DoF, the 9th DoF (absolute scale) is most effectively handled by incorporating human-provided size priors or known environmental dimensions.

Results and Performance

The framework was validated against the KITTI and Cityscapes3D benchmarks, using LiDAR and stereo-derived labels as ground truth. Key findings include:

  • High Precision: The method achieved an average rotation error of approximately 3 degrees.
  • Relative Accuracy: The "Scaled IoU" metric, which evaluates shape and orientation independent of absolute scale, reached 0.77 on KITTI and 0.82 on Cityscapes3D.
  • Efficiency: Human annotators can fully label a vehicle in 3D in roughly 67–70 seconds.
  • Robustness: The system performs well even with truncated or partially occluded vehicles, provided a minimal set of key features is visible.

Conclusion

ToosiCubix demonstrates that high-quality 3D annotations can be derived from monocular images by combining sparse human input with geometric reasoning. While scale ambiguity remains a challenge, the use of probabilistic priors significantly mitigates its impact. Future work aims to extend this framework to video sequences for temporal consistency and to include a broader range of object classes such as pedestrians and cyclists.

Summary updated

Abstract

Many existing methods for 3D cuboid annotation of vehicles rely on expensive and carefully calibrated camera-LiDAR or stereo setups, limiting their accessibility for large-scale data collection. We introduce ToosiCubix, a simple yet powerful approach for annotating ground-truth cuboids using only monocular images and intrinsic camera parameters. Our method requires only about 10 user clicks per vehicle, making it highly practical for adding 3D annotations to existing datasets originally collected without specialized equipment. By annotating specific features (e.g., wheels, car badge, symmetries) across different vehicle parts, we accurately estimate each vehicle's position, orientation, and dimensions up to a scale ambiguity (8 DoF). The geometric constraints are formulated as an optimization problem, which we solve using a coordinate descent strategy, alternating between Perspective-n-Points (PnP) and least-squares subproblems. To handle common ambiguities such as scale and unobserved dimensions, we incorporate probabilistic size priors, enabling 9 DoF cuboid placements. We validate our annotations against the KITTI and Cityscapes3D datasets, demonstrating that our method offers a cost-effective and scalable solution for high-quality 3D cuboid annotation.
BibTeX
@misc{nasihatkon2025toosicubix,
  author = {Behrooz Nasihatkon and Hossein Resani and Amirreza Mehrzadian},
  title = {{ToosiCubix: Monocular 3D Cuboid Labeling via Vehicle Part Annotations}},
  year = {2025},
  eprint = {2506.21358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.21358},
}
Figure