Depth Modes

Open in ClaudeOpen in ChatGPT

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 three 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. Two other values of DEPTH_MODE are not depth modes in the same sense: NONE disables depth computation entirely, and CUSTOM 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
Highest accuracy, for inspection, 3D reconstruction, or detecting small or distant objectsNEURAL_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 does not need depthNONE

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.

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.

NEURAL is also the only depth mode that 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 the highest depth accuracy and detail among all AI-powered modes. It is designed for applications that demand maximum precision and robustness, such as advanced robotics, inspection, and 3D reconstruction. While it requires more computational resources and delivers lower frame rates compared to other modes, 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;

Depth Modes Comparison

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

Note:

  • 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 (lens of 2 mm) whose stereo baseline is 120 mm.
  • Jetson Power Profile: Tests were conducted using MAXN without Super mode.