Depth Estimate

Estimate depth from a single image with machine-learning inference.

What it does

Depth Estimate reads a single image and predicts a depth map from it with an ML model, needing no camera, sensor or 3D data. The result is a greyscale image where brightness encodes distance: by default dark is near, light is far.

Quality picks the model size: fast is quickest, accurate takes longer and resolves finer detail. Metric switches the model to output depth in real metres instead of a relative near/far range. Invert flips the brightness mapping so near reads as white.

When to use it

ParameterTypeDefaultWhat it does
imageRaster—Image to estimate depth from (any Raster source)
qualityString"fast"Quality: fast (~25ms), balanced (~60ms), accurate (~150ms). One of: fast, balanced, accurate.
metricBooleanfalseUse metric depth model (absolute depth in meters)
invertBooleanfalseInvert depth (near=white instead of near=black)
enabledBooleantrueEnable depth estimation
positionVec3(0, 0, 0)Position offset in world units (X, Y, Z)
strengthNumber1Effect strength / wet-dry (0 = no effect, 1 = full). Editable, wirable, keyframable.

Gotchas

Accurate quality can take roughly 5–6 times longer per frame than Fast. Use it on stills or final renders, not on a live feed being scrubbed in real time.

Worked example

  1. Add a Depth Estimate node and wire an image into Image.

  2. Leave Quality on fast while setting things up, and switch to accurate for the final look.

  3. Wire depth_map into Displace to push pixels toward camera by estimated depth, creating a 2.5D parallax effect.

  4. If the parallax reads backwards, turn on Invert to flip near/far.

See also

Normal Estimate · Object Detect · Vision Segment · Rasters (images)