Abstract
Accurate 3D geometric perception is an important prerequisite for a wide range of spatial AI systems. While state-of-the-art methods depend on large-scale training data, acquiring consistent and precise 3D annotations from in-the-wild videos remains a key challenge. In this work, we introduce ViPE, a handy and versatile video processing engine designed to bridge this gap. ViPE efficiently estimates camera intrinsics, camera motion, and dense, near-metric depth maps from unconstrained raw videos. It is robust to diverse scenarios, including dynamic selfie videos, cinematic shots, or dashcams, and supports various camera models such as pinhole, wide-angle, and 360° panoramas. We have benchmarked ViPE on multiple benchmarks. Notably, it outperforms existing uncalibrated pose estimation baselines by 18%/50% on TUM/KITTI sequences, and runs at 3-5FPS on a single GPU for standard input resolutions. We use ViPE to annotate a large-scale collection of videos totaling approximately 96M frames. We open-source ViPE and the annotated dataset with the hope of accelerating the development of spatial AI systems.
Overview
ViPE (Video Pose Engine) is a robust, high-speed system from NVIDIA designed to extract precise 3D geometric information—camera poses, intrinsics, and dense metric depth—from any raw video. By combining the scalability of classical SLAM with the robustness of modern deep learning, ViPE can process everything from shaky selfies to 360° panoramas.
The Challenge of In-the-Wild 3D Perception
Accurate 3D perception is a fundamental requirement for spatial AI, robotics, and AR/VR. However, obtaining high-quality 3D data from "in-the-wild" internet videos is notoriously difficult. Traditional methods like SLAM (Simultaneous Localization and Mapping) are precise but brittle; they often fail in scenes with moving objects (like people or cars) or when camera intrinsics are unknown. Conversely, modern end-to-end deep learning models are robust to visual noise but struggle with long videos due to high memory requirements.
ViPE bridges this gap, providing a versatile engine that handles unconstrained, uncalibrated videos while maintaining the metric-scale accuracy needed for downstream tasks like 3D reconstruction or training robotic policies.
Methods: A Hybrid SLAM Architecture
ViPE is built on a keyframe-based SLAM architecture, introducing several critical upgrades to ensure production-readiness for diverse video types:
- Hybrid Constraints: ViPE leverages both dense optical flow networks for general robustness and a CUDA-accelerated sparse feature tracker (Shi-Tomasi/Lucas-Kanade) to capture fine, sub-pixel details.
- Dynamic Object Masking: To prevent moving objects from corrupting camera pose estimation, ViPE uses a semantic segmentation pipeline (SAM-Track and GroundingDINO) to identify and mask out humans, vehicles, and other dynamic entities.
- Metric Depth Regularization: To solve scale ambiguity, ViPE integrates monocular metric depth estimators as a prior during optimization.
- Universal Camera Support: ViPE supports wide-angle, fisheye, and 360° panoramic videos by projecting them into a cubemap of pinhole views for processing.
- Smooth Depth Alignment: A post-processing step aligns temporally smooth video depth with sparse, high-precision points from the Bundle Adjustment (BA) optimization.
Large-Scale Data Annotation
ViPE was used to create one of the largest 3D-annotated video collections to date, totaling 96 million frames:
- Dynpose-100K++: 100,000 real-world internet videos re-annotated with high-quality poses.
- Wild-SDG-1M: 1 million high-quality AI-generated videos, providing a bridge between synthetic and real data.
- Web360: A specialized dataset of 2,000 annotated panoramic videos.
Key Insights and Results
ViPE demonstrates that "tight coupling"—integrating learned priors like depth and flow directly into the Bundle Adjustment optimization loop—is superior to simply swapping components into classical back-ends. Furthermore, it proves that classical sparse feature tracks remain vital for achieving professional-grade sub-pixel accuracy.
- Accuracy: ViPE significantly outperforms existing uncalibrated baselines, showing an 18% improvement on TUM RGB-D and a 50% improvement on KITTI sequences.
- Speed: The system runs at 3-5 FPS on a single NVIDIA RTX 5090, enabling large-scale data processing.
- Consistency: Qualitative results show that ViPE maintains a consistent, metric-accurate global map, avoiding the scale drift common in baseline methods.
Limitations and Future Work
While powerful, ViPE's performance currently relies on high-end hardware (RTX 5090), and its accuracy is partially dependent on the underlying semantic segmentation models. Extremely dark or low-texture environments also remain a challenge. By open-sourcing the engine and the 96M-frame dataset, the authors aim to accelerate the development of the next generation of spatial AI systems.
Summary updated