Depth Any Video with Scalable Synthetic Data
About
Video depth estimation has long been hindered by the scarcity of consistent and scalable ground truth data, leading to inconsistent and unreliable results. In this paper, we introduce Depth Any Video, a model that tackles the challenge through two key innovations. First, we develop a scalable synthetic data pipeline, capturing real-time video depth data from diverse virtual environments, yielding 40,000 video clips of 5-second duration, each with precise depth annotations. Second, we leverage the powerful priors of generative video diffusion models to handle real-world videos effectively, integrating advanced techniques such as rotary position encoding and flow matching to further enhance flexibility and efficiency. Unlike previous models, which are limited to fixed-length video sequences, our approach introduces a novel mixed-duration training strategy that handles videos of varying lengths and performs robustly across different frame rates-even on single frames. At inference, we propose a depth interpolation method that enables our model to infer high-resolution video depth across sequences of up to 150 frames. Our model outperforms all previous generative depth models in terms of spatial accuracy and temporal consistency. The code and model weights are open-sourced.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Monocular Depth Estimation | Sintel | Abs Rel0.287 | 142 | |
| Depth Estimation | KITTI 110 frames | AbsRel9.8 | 75 | |
| Video Depth Estimation | Bonn 110 frames | AbsRel6.3 | 69 | |
| Video Depth Estimation | Scannet 90 frames | AbsRel0.119 | 28 | |
| Video Depth Estimation | Sintel ~50 frames | AbsRel30 | 15 | |
| Video Depth Estimation | Bonn 300 frames | Abs Rel0.06 | 13 | |
| Video Depth Estimation | KITTI 300 frames | Relative Error (Rel)0.11 | 10 | |
| Video Depth Estimation | Scannet 170 frames | TAE0.967 | 9 | |
| Video Depth Estimation | ScanNet 300 frames | Rel Depth Error0.09 | 4 | |
| Video Depth Estimation | Sintel 300 frames | Relative Depth Error (Rel_d)0.41 | 4 |