Introduction
Monocular depth estimation—the task of predicting 3D distance from a single 2D image—has advanced significantly with the advent of large-scale "foundation" models like Depth-Anything. However, these models are primarily optimized for static images. When applied to video sequences, they frequently suffer from temporal inconsistency, where depth scales and fine details "flicker" or drift between frames because each image is processed in isolation.
Existing video-specific solutions often rely on camera poses, which are notoriously difficult to estimate in dynamic scenes, or optimize short clips individually, leading to brittleness in "open-world" scenarios. DepthCrafter addresses these challenges by generating depth sequences that are inherently stable over long durations (exceeding 110 frames) for arbitrary video content without requiring external motion priors like optical flow or camera trajectories.
Methodology
DepthCrafter is built upon the architecture of Stable Video Diffusion (SVD). Rather than generating video from a single image, the model is adapted to generate a depth sequence conditioned on an input video. The core innovation lies in a three-stage training strategy designed to balance generalization, temporal consistency, and fine-grained detail.
Three-Stage Training Strategy
- Stage 1: Generalization. The model is first trained on a large-scale realistic dataset of approximately 200,000 video-depth pairs. These sequences, ranging from 1 to 25 frames, teach the model the fundamental relationship between diverse video content and 3D structure.
- Stage 2: Temporal Consistency. To achieve long-range stability, the spatial layers are frozen, and only the temporal layers are fine-tuned using sequences of up to 110 frames. This decoupling allows the model to learn temporal persistence without the prohibitive memory costs of full-model training on long videos.
- Stage 3: Fine-grained Detail. Finally, the spatial layers are fine-tuned on a high-quality synthetic dataset (e.g., DynamicReplica and MatrixCity). Synthetic data provides the "ground truth" precision necessary for sharp object boundaries that real-world sensors often lack.
Long-Video Inference
For videos spanning thousands of frames, DepthCrafter employs a segment-wise inference strategy. To prevent scale drift between segments, the model "anchors" the depth scale of a new segment by initializing its latent noise based on the preceding segment. A "mortise-and-tenon" style latent interpolation is then used to stitch these segments together seamlessly in the latent space.
Experimental Evaluation
The model's performance was evaluated zero-shot across diverse benchmarks, including Sintel (synthetic), ScanNet v2 (indoor), KITTI (outdoor), and Bonn (dynamic indoor).
Key Results
DepthCrafter achieves state-of-the-art performance across all major metrics. On the KITTI dataset, it improved the Absolute Relative Error (AbsRel) by 25.7% compared to previous leading methods. Beyond numerical accuracy, the qualitative improvements in temporal stability are significant.
As shown in the temporal profiles in Figure 4, competing models often produce "zigzag" artifacts, indicating frame-to-frame flickering. In contrast, DepthCrafter produces smooth, continuous depth transitions. The model demonstrates remarkable versatility, outperforming domain-specific models on cinematic footage, cartoons, and handheld "in-the-wild" videos.
Discussion and Limitations
While DepthCrafter sets a new standard for video depth estimation, it faces computational challenges. As a diffusion-based model, it requires significant GPU resources—approximately 24GB of VRAM for 110-frame segments at high resolution. Furthermore, its inference speed (~465ms per frame on an A100) is slower than feed-forward models like Depth-Anything V2 (~180ms), limiting its current use in real-time applications. Future work will focus on model distillation and quantization to reduce these overheads and bring high-quality temporal depth to consumer-grade hardware.
Summary updated