Reproduce “MegaDepth: Learning Single-View Depth Prediction from Internet Photos” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhengqi Li, Noah Snavely

The authors introduce MegaDepth, a dataset for single-image depth prediction built from overlapping Internet photos. They reconstruct scenes with structure-from-motion and multi-view stereo, clean depth maps, and add ordinal supervision for objects often missed by reconstruction. On KITTI, it reports RMS 6.68 versus 7.12 for a non-KITTI-trained comparison, but does not surpass target-trained methods; predictions are scale-aligned, not metric depth.

Key insights

  • Internet photo collections can be effectively leveraged with SfM and MVS to automatically generate large, diverse, and high-quality training data for single-view depth prediction, overcoming traditional data bottlenecks.
  • Extensive data refinement and semantic enhancement (e.g., using PSPNet for filtering and ordinal label generation) are critical for transforming noisy raw 3D reconstructions into usable supervision for deep learning models.
  • A hybrid loss function incorporating scale-invariant data terms, multi-scale gradient matching, and particularly a robust ordinal depth loss, is crucial for handling inherent challenges like scale ambiguity and MVS failures on dynamic objects.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.