Depth Map Generator

This depth map generator turns ordinary photos into depth maps in your browser. Download Depth Anything V2 once and drop one photo or a folder: you get a greyscale (or colour) map where brightness shows distance, at the original size, ready for 3D photo effects, parallax animation, background blur, Blender displacement or ControlNet. A built-in estimate works with no download.

Uses for depth maps

UseSetting
3D photo / parallaxGreyscale, near = white
Blender displacementGreyscale, original size
ControlNet depthGreyscale
Visual inspectionColour map

When to use it

  1. Create 3D and parallax photo effects.
  2. Blur backgrounds by depth.
  3. Make displacement maps for Blender.
  4. Prepare ControlNet depth inputs.
  5. Add fog to landscapes.

How to Use

  1. Download the model or use the estimate.
  2. Drop photos.
  3. Make depth maps.
  4. Download PNGs.

Features

  1. Depth Anything V2
  2. Built-in estimate
  3. Greyscale or colour map
  4. Invert option
  5. Original-size output
  6. Clear downloaded models

FAQs

What is a depth map?

A greyscale image where brightness stands for distance from the camera; by default near is white.

Is the depth in metres?

No, it's relative depth: correct ordering of near and far, not measurements.

Can I get it at full resolution?

Yes, the map is resized to your photo's original size.

Is anything uploaded?

No. Files and text are processed in your browser. Only the model itself is downloaded, once, when you ask for it.

Can I delete the downloaded model?

Yes. The Downloaded models panel lists what this tool stored and deletes it after a warning; you'd need to download it again to use it.

Technical Details

Depth Anything V2 (small) runs as a Transformers.js depth-estimation pipeline on your device and returns a relative depth image, which is optionally inverted, coloured with a turbo-style colour map and resized back to the photo's original size. Without the model, a built-in estimate combines vertical position (lower is nearer), local sharpness from a Laplacian (sharper is nearer) and colour saturation, each smoothed with a box blur. Results download as PNG, singly or in a ZIP.

Image Tools

Image Tools

  • Photo Sorter by Content
  • Image Resizer
  • Image Compressor
  • Image Converter
  • PNG to WebP
  • WebP to JPG
  • Image Cropper
  • Image Rotator