DepthCrafter: Generating Consistent Long Depth Sequences for Open-world Videos

Wenbo Hu, Xiangjun Gao, Xiaoyu Li, Sijie Zhao, Xiaodong Cun, Yong Zhang, Long Quan, Ying Shan

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.

The three-stage training pipeline of DepthCrafter, leveraging Stable Video Diffusion (SVD) and decoupling spatial and temporal learning.

Three-Stage Training Strategy

  1. 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.
  2. 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.
  3. 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.

Qualitative comparison of DepthCrafter against Depth-Anything-V2 and NVDS. The green boxes highlight temporal profiles, demonstrating DepthCrafter's superior temporal consistency across various scenes.

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

BibTeX
@inproceedings{hu2025depthcrafter,
  author = {Wenbo Hu and Xiangjun Gao and Xiaoyu Li and Sijie Zhao and Xiaodong Cun and Yong Zhang and Long Quan and Ying Shan},
  title = {{DepthCrafter: Generating Consistent Long Depth Sequences for Open-world Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00193},
}
Figure