Abstract
We address the task of aligning CAD models to a video sequence of a complex scene containing multiple objects. Our method can process arbitrary videos and fully automatically recover the 9 DoF pose for each object appearing in it, thus aligning them in a common 3D coordinate frame. The core idea of our method is to integrate neural network predictions from individual frames with a temporally global, multi-view constraint optimization formulation. This integration process resolves the scale and depth ambiguities in the per-frame predictions, and generally improves the estimate of all pose parameters. By leveraging multi-view constraints, our method also resolves occlusions and handles objects that are out of view in individual frames, thus reconstructing all objects into a single globally consistent CAD representation of the scene. In comparison to the state-of-the-art single-frame method Mask2CAD that we build on, we achieve substantial improvements on the Scan2CAD dataset (from 11.6% to 30.7% class average accuracy).
Introduction
Recovering the 3D structure of a scene from 2D images is a fundamental challenge in computer vision. When attempting to place a 3D CAD model into a virtual space based on a single photo, systems face a fundamental "scale-depth ambiguity": a full-sized chair far away and a miniature chair close to the lens can appear identical in a 2D projection.
While single-frame methods like Mask2CAD have made strides in identifying objects and their rotations, they often rely on ground-truth depth data or manual scaling to achieve accuracy. Vid2CAD addresses this by performing fully automatic 9-DoF pose estimation (3D translation, rotation, and anisotropic scaling) using only standard RGB video sequences. By leveraging multi-view constraints across video frames, Vid2CAD transforms a flat video into a globally consistent 3D CAD representation.
Methodology
Vid2CAD builds upon the Mask2CAD backbone, which predicts 2D bounding boxes, object classes, 3D rotations, and shape codes for CAD retrieval. The primary innovation is the Temporal Integration framework.
Temporal Association and Optimization
The system first tracks detections across frames, using 3D clustering to group fragmented tracks caused by occlusions into single physical entities. It then formulates a non-linear least squares optimization problem to find a single 9-DoF pose $(t, R, s)$ for each object that satisfies constraints across all frames:
- Translation: The 3D center of the object must project near the predicted 2D centers in every frame.
- Rotation: The global 3D rotation must remain consistent with per-frame neural network predictions.
- Scale: The 3D model’s projection must fit within predicted 2D amodal bounding boxes.
Scale from Recognition
To provide a robust starting point for geometric optimization, the authors added a specialized head to the neural network. This head predicts an object's scale based on its appearance—for instance, recognizing that a specific monitor model typically has standard dimensions. This combination of geometric constraints and recognition-based priors allows the system to "triangulate" true scale and distance effectively.
Experimental Results
The framework was evaluated on the Scan2CAD dataset, which features indoor RGB-D videos. Crucially, Vid2CAD ignores depth data during testing to demonstrate its efficacy with standard RGB video. ShapeNetCore served as the source for 3D CAD models.
Vid2CAD achieved a 30.7% class average accuracy on the Scan2CAD benchmark, nearly tripling the 11.6% accuracy of the best fully-automated single-frame baseline. It also outperformed hybrid pipelines that use Multi-View Stereo (MVS) to create intermediate point clouds (18.8% accuracy), proving that direct optimization on video frames is more robust. Furthermore, the optimization is highly efficient, requiring only approximately 2.5 seconds per video.
Conclusion and Future Work
Vid2CAD demonstrates that temporal consistency is a powerful signal for resolving geometric ambiguities in 3D reconstruction. While the current model assumes static scenes and requires known camera poses (extrinsics), it sets a new state-of-the-art for automatic CAD alignment from video. Future research directions include joint estimation of camera paths and object positions, as well as extending the framework to handle dynamic environments where objects may move during the sequence.
Summary updated