Depth Map ML
Description
Depth Map ML analyzes an image and determines how far away each part of the scene is. Use the depth map with other depth objects in the Depth node, control blur or color correct based on depth in the Depth of Field and Color Correct nodes, and create mattes according to a particular depth level.

Node Group
AI/ML, Image, Key.
Controls
Model
Choose which ML model to use.
Depth Map ML v1.0 (Better)
High quality, but requires more processing time.
Depth Map ML v1.0 (Faster)
Faster processing, but less accurate.
Output
RGBA
Outputs RGBA.
Alpha
Outputs Alpha.
Depth Only
Outputs Depth only.
Mapping
Determines the depth mapping mode.
Scale
Scales the depth values using the Scale control.
Points
Maps the depth values using manually defined Near/Far Depth on-screen point controls. When a tracker based node (Roto, Tracker, etc) is connected to the data port, trackers or tracked layers can transform the points.
Scale
In Scale mapping mode, adjusts the depth scale.
Near Scale
In Scale mapping mode, adjusts the near depth with lower values producing brighter near areas.
Far Scale
In Scale mapping mode, adjusts the far depth with higher values producing darker far areas.
Near Depth
In Points mapping mode, sets the exact position of the near depth using the bottom right on-screen point control.
Far Depth
In Points mapping mode, sets the exact position of the far depth using the top left on-screen point control.
Near Clip
Sets the level of the near depth. A value of 1 is all the way forward and 0 is all the way back.
Far Clip
Sets the level of the far depth. A value of 1 is all the way forward and 0 is all the way back.
Depth Preview
The Depth Preview window displays a 3D view of the depth map and is located in a tab shared with the Sources window.

Clicking and dragging will move the image around in a perspective view.
Depth Preview Pan/Zoom Shortcuts
Shortcut | Action |
|---|
Click and drag | Rotates the image a perspective view |
Scroll wheel | Zooms the image in and out |
Shift-Middle-mouse drag | Zooms the image in and out |
Space Bar-Shift-move mouse up/down | Zooms the image in and out |
Space Bar-move mouse | Pans the image |
Middle-mouse drag | Pans the image |
Middle-mouse double click | Fits the image in the Viewer |