Depth Map Generator — Relative Depth from a Photo

Estimate relative depth from a photo in your browser. Choose grayscale or a color preview and download PNG images individually or as a ZIP.

🔒 Local processing
⚡ Free to use
🌐 Runs in your browser
📦 See output options
⚡

Depth Map Generator — Relative Depth from a Photo

Tool workspace

Ready

Loading tool...

  1. Choose the color map and output size first.
  2. Select or drop PNG, JPEG or WebP images. Processing starts automatically.
  3. Wait for the model download and image processing. Keep this tab open.
  4. Inspect each result. Save individual PNG files, or download a ZIP when two or more succeed.

What does a depth map show?

This tool estimates relative near and far regions from a single photo. It produces a flat PNG visualization, not a 3D mesh, a scan or distances in meters. The model can misinterpret reflections, transparent objects, thin edges and unfamiliar scenes. Use it for creative previews, rough displacement experiments or parallax effects; check the result against the original.

Output and settings

Grayscale provides an 8-bit visual map. The colored options are approximate display palettes, not calibrated scientific scales. Original size uses the input image dimensions for the visualization; it does not mean the model resolves every original pixel independently. The 512, 768 and 1024 options set the longest output side and preserve aspect ratio. Changing output size resizes the visualization, not the model’s inference resolution.

Batch processing and errors

Set options before selecting files. Images run sequentially; new selections are disabled while processing. A failed image displays its error while successful images remain downloadable. ZIP names include a sequence number so repeated source names do not overwrite one another. Large inputs and batches can exhaust browser memory: start with a smaller image and a short batch. Unsupported or damaged files cannot be processed.

Loading and privacy

The model runs through WebAssembly in your browser. The runtime and model are downloaded from external hosts, so an internet connection is required for uncached resources. Download time and cache availability vary. The processing code reads selected images through local blob URLs and does not upload them for inference. This does not mean the website makes no network requests; see the privacy policy.

Frequently asked questions

Does this measure real distance?

No. It estimates relative depth from one image and does not provide calibrated meters or a complete 3D model.

Where is the Generate button?

Processing starts when you select images. Choose the palette and output size before selecting them.

Does 1024px improve model accuracy?

No. It changes the exported visualization size, not the inference resolution or accuracy.

Why does first use take time?

The browser must download runtime and model files. Network access, memory and device speed affect completion.