Skip to navigation

StereoLabs AI Depth leverages advanced neural networks to generate high-quality depth maps from stereo images, delivering reliable results even in challenging scenarios. Compared to traditional approaches, AI Depth provides superior accuracy in low-texture and low-light environments. This makes it especially well-suited for applications such as robotics, augmented reality (AR), and 3D mapping, where dependable depth perception is critical.

The ZED SDK provides multiple AI-powered depth modes, allowing you to tailor depth sensing to your application’s requirements. Each mode offers a different balance of accuracy, range, and computational speed, so you can optimize for precision, performance, or a mix of both depending on your use case.

Which depth mode should I use?

The four neural modes described below are the ones to choose between in ZED SDK v5. The legacy PERFORMANCE, QUALITY, and ULTRA modes are still available in the API but are deprecated in favor of them (see Legacy depth modes). Two other values of DEPTH_MODE are not depth modes in the same sense: NONE disables depth computation entirely, and CUSTOM (experimental, ZED SDK 5.4 and later) lets you feed the SDK your own disparity or depth estimation (see the custom depth ingestion sample).

If your situation is…Recommended mode
Good balance of speed and accuracy, for general-purpose robotics, AR, or navigationNEURAL
Most accurate depth, on a high-end GPU such as Jetson AGX Thor or a desktop GPU, or to process SVO files offline (ZED SDK 5.6 and later)NEURAL_MAX
High accuracy, for inspection, 3D reconstruction, or detecting small or distant objects, where NEURAL_MAX is too heavyNEURAL_PLUS
NEURAL does not reach the frame rate your application needsNEURAL_LIGHT
Several cameras on the same devicePlatform-dependent, check the performance tables below. An Orin AGX sustains 30 FPS on 4 cameras in NEURAL, while an Orin Nano 4 GB already drops to 5 FPS on 2 cameras and needs NEURAL_LIGHT
Resource-constrained embedded deviceNEURAL_LIGHT on an Orin Nano 4 GB. On Orin Nano 8 GB and Orin NX 8, NEURAL still runs at 30 FPS with a single camera, while NEURAL_PLUS stays below 10 FPS
Your application needs the Jetson GPU for its own workNEURAL_LIGHT computed on the DLA or the PVA (experimental, ZED SDK 5.6 and later), see Depth Compute Device
Your application does not need depthNONE

The performance tables on this page were measured with ZED SDK 5.0.1. ZED SDK 5.6 reduced the time of the depth networks on Jetson Orin, Jetson Thor and RTX 30, RTX 40 and RTX 50 series GPUs: up to 37% less with NEURAL_LIGHT, up to 22% less with NEURAL and up to 40% less with NEURAL_PLUS, for about the same GPU memory. NEURAL and NEURAL_PLUS also give up to 2.5% more valid depth pixels, see objects closer to the camera, and are more robust to motion blur, lens droplets, occlusions and underexposure. The flying pixels between an object and the background are reduced in every NEURAL mode. See the ZED SDK 5.6 release notes.

The depth mode is not a property of a recording. SVO files store only the raw unrectified images, so a sequence recorded with DEPTH_MODE::NONE can be replayed later with any depth mode, and depth is computed at that moment. See What an SVO File Contains.

Legacy depth modes

PERFORMANCE, QUALITY, and ULTRA are the computer vision depth modes of earlier ZED SDK versions. They are deprecated since ZED SDK 5.0 but still available in the API.

The neural modes are not all new in v5: NEURAL was introduced in ZED SDK 3.7, NEURAL_PLUS in ZED SDK 4.1, NEURAL_LIGHT in ZED SDK 5.0, which also updated the NEURAL and NEURAL_PLUS models, and NEURAL_MAX in ZED SDK 5.6.

Since ZED SDK 5.6, the legacy modes compute the same depth up to 3.8 times faster. On Jetson Orin, QUALITY takes half the time and ULTRA and PERFORMANCE about 40% less. They remain deprecated.

There is no one-to-one replacement for each legacy mode. When migrating, pick the neural mode from the table above according to your accuracy and frame rate needs, and validate it on your target platform: even NEURAL_LIGHT has a different resource profile than the legacy modes.

NEURAL

The NEURAL depth mode uses AI-powered disparity estimation to deliver a strong balance of depth accuracy and processing speed. It is ideal for applications that require reliable depth perception without sacrificing real-time performance.

Like every NEURAL depth mode, NEURAL supports INT8 inference precision, which trades a small amount of accuracy for faster, lower-memory depth computation. See Depth Precision.

Neural depth mode outdoor example

Neural Depth Computational Performance on embedded devices

CamerasFPSCPU (%)GPU (%)
130526
230650
4302653

Performance obtained with ZED SDK v5.0.1 RC, ZED X Driver v1.3.0, and ZED X camera using the multicamera code example available on GitHub.

Neural Depth Accuracy (ZED X)

Distance Range (m)Mean ErrorStandard Deviation*
[0.3 - 4]< 1%Low
[4 - 6]< 2.5%Low
[6 - 9 ]< 4%Medium
[10 - 12 ]< 6%High

(*) A lower standard deviation indicates more stable and accurate depth estimation, resulting in smoother and more reliable 3D point clouds. Higher deviation can lead to noise and distortion, producing wavy or unstable point clouds.

Enabling the NEURAL depth mode in the API

// Set depth mode in NEURAL
InitParameters init_parameters;
init_parameters.depth_mode = DEPTH_MODE::NEURAL;

NEURAL LIGHT

The NEURAL_LIGHT depth mode provides AI-powered disparity estimation optimized for speed and efficiency. It enables real-time depth sensing with lower computational load, making it ideal for multi-camera setups and applications where fast processing is prioritized over maximum depth accuracy.

Neural Light depth mode outdoor example

Neural Light Depth Computational Performance on embedded devices

CamerasFPSCPU (%)GPU (%)
130511
230623
4302246

Performance obtained with ZED SDK v5.0.1 RC, ZED X Driver v1.3.0, and ZED X camera using the multicamera code example available on GitHub.

Neural Light Depth Accuracy (ZED X)

Distance Range (m)Mean ErrorStandard Deviation*
[0.3 - 3]< 1%Low
[3 - 5]< 3%Medium
[5 - 12 ]< 8%High

(*) A lower standard deviation indicates more stable and accurate depth estimation, resulting in smoother and more reliable 3D point clouds. Higher deviation can lead to noise and distortion, producing wavy or unstable point clouds.

Enabling the NEURAL LIGHT depth mode in the API

// Set depth mode in NEURAL_LIGHT
InitParameters init_parameters;
init_parameters.depth_mode = DEPTH_MODE::NEURAL_LIGHT;

NEURAL PLUS

The NEURAL_PLUS depth mode provides high depth accuracy and detail at a cost that embedded devices can still run; only NEURAL_MAX is more accurate. It is designed for applications that demand high precision and robustness, such as advanced robotics, inspection, and 3D reconstruction. While it requires more computational resources and delivers lower frame rates than NEURAL_LIGHT and NEURAL, NEURAL_PLUS excels in challenging environments and when capturing fine object details is critical.

Neural Plus depth mode outdoor example

Neural Plus Depth Computational Performance on embedded devices

CamerasFPSCPU (%)GPU (%)
129790
2171190
482197

Performance obtained with ZED SDK v5.0.1 RC, ZED X Driver v1.3.0, and ZED X camera using the multicamera code example available on GitHub.

Neural Plus Accuracy (ZED X)

Distance Range (m)Mean ErrorStandard Deviation*
[0.3 - 9]< 1%Low
[9 - 12]< 2%Medium

(*) A lower standard deviation indicates more stable and accurate depth estimation, resulting in smoother and more reliable 3D point clouds. Higher deviation can lead to noise and distortion, producing wavy or unstable point clouds.

Enabling the NEURAL PLUS depth mode in the API

// Set depth mode in NEURAL_PLUS
InitParameters init_parameters;
init_parameters.depth_mode = DEPTH_MODE::NEURAL_PLUS;

NEURAL MAX

The NEURAL_MAX depth mode, available since ZED SDK 5.6, is the most accurate NEURAL depth mode. It is built for high-end GPUs such as the Jetson AGX Thor and desktop GPUs, and for the offline processing of SVO files.

  • With the default DEPTH_PRECISION::FP16, it gives its most detailed depth, best at HD1080 and larger resolutions, with up to about 30% less error than INT8 on thin structures such as fences. It uses up to about 1.5 GB of GPU memory.
  • With DEPTH_PRECISION::INT8, it takes up to about half the time and up to about 1.0 GB of GPU memory, with the same minimum depth as FP16.
  • On Jetson Thor, DGX Spark and RTX 40 and RTX 50 series GPUs, both precisions run in FP8, faster with the same accuracy. The log reports the precision actually in use; Camera::getInitParameters() reports the one requested.
  • Its model is downloaded the first time it is used and takes a few minutes to optimize: prepare it ahead of time with ZED_Diagnostic -nrlo_max. See ZED Diagnostic.
  • Its closest depth is about 23 cm on a ZED X at 1200p, limited by the range of the depth network. See Minimum Range.

Enabling the NEURAL MAX depth mode in the API

// Set depth mode in NEURAL_MAX
InitParameters init_parameters;
init_parameters.depth_mode = DEPTH_MODE::NEURAL_MAX;

Depth Modes Comparison

The table below compares the modes measured on a ZED X. For NEURAL_MAX, see NEURAL MAX.

Depth ModeIdeal RangeBenefitsLimitations
NEURAL_LIGHT[0.3-5]- Fastest depth mode
- Best for multi-camera setup
- Suited for mid-range obstacle avoidance
- Smallest ideal depth range
- May miss small objects/details
- Slightly less robust to light changes than NEURAL
NEURAL[0.3-9]- Balanced depth and performance
- Better object detail than NEURAL_LIGHT
- Suitable for most multi-camera applications
- Same robustness to environmental changes as NEURAL_PLUS
- Slower than NEURAL_LIGHT
- Less detail than NEURAL_PLUS
NEURAL_PLUS[0.3-12]- Highest object details
- Highest ideal depth range and stability
- Best for detecting near, far, and small objects
- Most robust to environmental changes and reflections
- Slowest depth mode
- May not be suited for multi-camera setup
  • The depth range is highly dependent on the camera baseline and optics. A bigger baseline increases the maximum depth range but also raises the minimum working distance, while a smaller baseline does the opposite. Here, tests were conducted with a ZED X (2.2 mm lens) whose stereo baseline is 120 mm.
  • Jetson Power Profile: Tests were conducted using MAXN without Super mode.