{
 "id": "marigold-monocular-depth",
 "title": "Marigold: Diffusion-Based Monocular Depth Estimation",
 "aliases": [
  "Marigold"
 ],
 "domain": "capture",
 "subdomain": "depth",
 "stage": "capture",
 "realtime": "offline",
 "platforms": [
  "cuda",
  "desktop-gpu"
 ],
 "year_introduced": 2023,
 "inputs": [
  "photos"
 ],
 "outputs": [
  "depth"
 ],
 "style": "both",
 "dynamic": "static",
 "summary": "Repurposes a pretrained latent diffusion image generator via affine-invariant synthetic depth fine-tuning to predict crisp, zero-shot monocular depth maps with fine edge preservation.",
 "how_it_works": "Pretrained text-to-image diffusion models encode rich visual priors about object geometry, perspective, and occlusion. Marigold fine-tunes Stable Diffusion's U-Net exclusively on clean synthetic RGB-depth pairs (Hypersim, Virtual KITTI) using an affine-invariant depth parameterization encoded through the frozen VAE. At inference, concatenating the input RGB latent with Gaussian noise and running multi-step denoising (plus multi-sample test-time ensembling) recovers sharp, high-frequency depth boundaries on unseen real and stylized scenes.",
 "when_to_use": "Use for single-image 3D lifting, parallax/relighting pipelines, and depth-guided compositing when fine geometric silhouettes matter more than metric scale or millisecond speed. Prefer `depth-anything-v2` when real-time video throughput is required.",
 "cost": {
  "class": "heavy",
  "notes": "Multi-step latent diffusion inference (~0.5–4s per image on desktop GPU); 1-step distilled LCM variants run faster."
 },
 "failure_modes": [
  "Outputs affine-invariant relative depth (unknown global scale and shift)",
  "Multi-step stochastic sampling can flicker across video frames without temporal consistency",
  "Mirrors and transparent glass can confuse monocular priors"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "arxiv:2312.02145",
   "type": "paper",
   "title": "Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation",
   "authors": [
    "Bingxin Ke",
    "Anton Obukhov",
    "Shengyu Huang",
    "Nando Metzger",
    "Rodrigo Caye Daudt",
    "Konrad Schindler"
   ],
   "year": 2023,
   "venue": "arXiv preprint",
   "url": "https://arxiv.org/abs/2312.02145",
   "ids": {
    "arxiv": "2312.02145",
    "doi": "10.48550/arxiv.2312.02145"
   },
   "license": null,
   "provenance": {
    "title": {
     "authority": "datacite-arxiv",
     "endpoint": "https://api.datacite.org/dois/10.48550/arxiv.2312.02145",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "authors": {
     "authority": "datacite-arxiv",
     "endpoint": "https://api.datacite.org/dois/10.48550/arxiv.2312.02145",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "year": {
     "authority": "datacite-arxiv",
     "endpoint": "https://api.datacite.org/dois/10.48550/arxiv.2312.02145",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "venue": {
     "authority": "datacite-arxiv",
     "endpoint": "https://api.datacite.org/dois/10.48550/arxiv.2312.02145",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "url": {
     "authority": "datacite-arxiv",
     "endpoint": "https://api.datacite.org/dois/10.48550/arxiv.2312.02145",
     "checked_at": "2026-12-02T02:40:24.869Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-12-02T02:40:24.869Z",
   "title_sim": 1,
   "__bib": "ke2023repurposing"
  },
  {
   "role": "implementation",
   "key": "gh:prs-eth/marigold",
   "type": "code",
   "title": "prs-eth/Marigold",
   "authors": [
    "prs-eth"
   ],
   "year": 2023,
   "venue": "GitHub",
   "url": "https://github.com/prs-eth/Marigold",
   "ids": {
    "github": "prs-eth/Marigold"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 3267,
    "description": "[CVPR 2024 - Oral, Best Paper Award Candidate] Marigold: Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/prs-eth/Marigold",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/prs-eth/Marigold",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/prs-eth/Marigold",
     "checked_at": "2026-12-02T02:40:24.869Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/prs-eth/Marigold",
     "checked_at": "2026-12-02T02:40:24.869Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-12-02T02:40:24.869Z",
   "title_sim": 1,
   "__bib": "prseth2023marigold"
  }
 ],
 "presets": [],
 "related": [
  "depth-anything-v2",
  "structure-from-motion-colmap",
  "multi-view-stereo-patchmatch"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [],
 "provenance": {
  "prose": "original text written for this index (frontier expansion, authority-verified)",
  "sources_verified_at": "2026-12-02T02:40:24.869Z"
 },
 "solves": [],
 "authority": "Ke et al., 2023",
 "url": "https://texelatlas.vercel.app/t/marigold-monocular-depth/",
 "execution_fidelity": "none",
 "fidelity_label": "No Live Specimen",
 "benchmark_eligible": false
}