FlashDepth: Real-time Streaming Video Depth Estimation at 2K Resolution

Gene Chou, Wenqi Xian, Guandao Yang, Mohamed Abdelfattah, Bharath Hariharan, Noah Snavely, Ning Yu, Paul Debevec

TL;DR

FlashDepth introduces a real-time, streaming video depth estimation model capable of processing 2K resolution (2044×1148) video at 24 FPS on a single GPU. By combining a lightweight recurrent module for frame-to-frame scale alignment with a dual-resolution hybrid architecture, it delivers exceptionally sharp object boundaries and temporal consistency without the heavy computational footprint of diffusion or batch-based models.

What Problem Does This Paper Address?

High-quality video depth estimation is a foundational requirement for robotics, augmented reality, and video editing. To be truly versatile, a model must satisfy three conditions: it must be accurate and temporally consistent across frames, produce high-resolution depth maps, and support real-time streaming (processing frames one by one as they arrive).

Existing state-of-the-art methods fail to hit all three targets. Highly accurate models often rely on video diffusion or batch processing (e.g., DepthCrafter, Video Depth Anything), making them too slow for real-time applications and incapable of true streaming. On the flip side, existing streaming models (e.g., CUT3R) sacrifice resolution and produce blurry depth maps to maintain speed. FlashDepth bridges this gap, providing both 2K resolution sharpness and real-time streaming performance.

Methods

FlashDepth builds on top of the single-image depth model Depth Anything v2 (DAv2) and introduces two key architectural innovations:

  1. Enforcing Temporal Consistency with Mamba: Single-image models are excellent at predicting relative depth but suffer from "flickering" because their scale shifts from frame to frame. FlashDepth integrates a lightweight Mamba recurrent neural network after the decoder. Instead of aligning final depth maps, it aligns intermediate features to a unified scale on-the-fly, adding negligible parameter overhead (~1%).
  2. A Hybrid Model for High-Resolution Efficiency: Running a massive depth model natively at 2K resolution is too slow for real-time applications. FlashDepth solves this with a two-stream architecture:
  3. FlashDepth-S (Lightweight Stream): Processes the full 2K resolution image to preserve sharp spatial boundaries.
  4. FlashDepth-L (Heavy Stream): Processes a downsampled version of the image (518px) to extract highly accurate global depth relationships.

The features from both streams are fused using cross-attention, allowing the lightweight stream to inherit the accuracy of the heavy model while maintaining 2K boundary sharpness.

Figure 3. Our architecture builds on DPT [42] and Depth Anything v2 [63], but is designed for streaming videos. A recurrent network (Mamba [10]) aligns frames to a consistent scale on-the-fly, and our hybrid model scales to 2K resolution while maintaining accuracy and throughput of 24 FPS.

Datasets

The model is trained in two stages using synthetic, metric depth datasets:

  • Stage 1 (Temporal Consistency): Trained on low-resolution (518×518) crops from MVS-Synth, Spring, TartanAir, PointOdyssey, and Dynamic Replica.
  • Stage 2 (High-Resolution Hybrid): Finetuned using original 2K resolution annotations from MVS-Synth and Spring (~16,000 image-depth pairs).
  • Evaluation: Evaluated on unseen diverse datasets including ETH3D (real indoor/outdoor), Sintel (animation), Waymo (self-driving), Unreal4K, and UrbanSyn (photorealistic synthetic).

Key Insights and Ideas

  • Decoupling Resolution from Global Accuracy: The authors discovered that global depth accuracy (the correct depth relationships between objects) does not heavily depend on high resolution, as boundary pixels account for less than 1% of an image on average. However, high resolution is absolutely critical for boundary sharpness.
  • The Hybrid Sweet Spot: Fusing a low-res heavy model with a high-res light model yields the best of both worlds—the structural accuracy of a large model and the fine-grained edge details of a high-resolution pass—at a fraction of the computational cost.
  • Feature-Level Scale Alignment: Rather than using expensive post-optimization to stitch video frames together, a lightweight recurrent network operating on intermediate features is sufficient to eliminate scale drift in streaming data.

Key Results

  • Speed: FlashDepth achieves true real-time performance, processing 2044×1148 video at 24 FPS on an NVIDIA A100 GPU.
  • Boundary Sharpness: FlashDepth significantly outperforms state-of-the-art baselines in capturing thin structures (like tree branches, poles, and fur). On the UrbanSyn dataset, FlashDepth (Full) achieves a boundary F1 score of 0.185, vastly outperforming DepthCrafter (0.044) and VidDepthAny (0.097).
Quantitative comparison of boundary sharpness (F1 score) and runtime across datasets.
Figure 2. We visualize predicted depth maps (top row) of each method on in-the-wild videos. We also zoom-in (green bounding boxes) to emphasize the boundaries (bottom row). Our method processes high-resolution frames natively and produces sharper boundaries, especially for thin structures and small or far objects.

Limitations and Future Work

The primary limitation acknowledged by the authors is residual flickering. While FlashDepth is highly consistent compared to single-image models, it cannot completely match the temporal smoothness of heavy, offline optimization-based methods that look at the entire video at once.

For future work, the authors suggest exploring concurrent optimization strategies—similar to those used in Simultaneous Localization and Mapping (SLAM)—to further smooth out streaming depth predictions over time without sacrificing real-time throughput.

Summary updated

BibTeX
@inproceedings{chou2025flashdepth,
  author = {Gene Chou and Wenqi Xian and Guandao Yang and Mohamed Abdelfattah and Bharath Hariharan and Noah Snavely and Ning Yu and Paul Debevec},
  title = {{FlashDepth: Real-time Streaming Video Depth Estimation at 2K Resolution}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure