Motivation.
Despite significant advancements in monocular depth estimation for static images,
estimating video depth in the open world remains challenging,
since open-world videos are extremely diverse in content, motion, camera movement, and length.
We present DepthCrafter, an innovative method for generating
temporally consistent long depth sequences with intricate details for open-world videos,
without requiring any supplementary information such as camera poses or optical flow.
DepthCrafter achieves generalization ability to open-world videos
by training a video-to-depth model from a pre-trained image-to-video diffusion model,
through our meticulously designed three-stage training strategy with the compiled paired video-depth datasets.
Our training approach enables the model to generate depth sequences with variable lengths at one time, up to 110 frames,
and harvest both precise depth details and rich content diversity from realistic and synthetic datasets.
We also propose an inference strategy that processes extremely long videos through segment-wise estimation and seamless stitching.
Overview.
DepthCrafter is a conditional diffusion model that models
the distribution over the depth sequence conditioned on the input video.
We train the model in three stages,
where the spatial or temporal layers of the diffusion model
are progressively learned on our compiled realistic or synthetic datasets with variable lengths.
During inference, given an open-world video, it can generate temporally consistent long depth
sequences with fine-grained details for the entire video from initialized Gaussian noise,
without requiring any supplementary information, such as camera poses or optical flow.
Inference for extremely long videos.
We divide the video into overlapped segments and estimate the depth sequences for each segment
with a noise initialization strategy to anchor the scale and shift of depth distributions.
These estimated segments are then seamlessly stitched together with a latent interpolation strategy
to form the entire depth sequence.