DEPTH_MODE Class Reference

Lists available depth computation modes. More...

Static Functions

def from_string (str, name)
 Converts a string to the corresponding DEPTH_MODE enum value. More...
 

Detailed Description

Lists available depth computation modes.

Enumerator
NONE No depth map computation.
Only rectified stereo images will be available.
PERFORMANCE Computation mode optimized for speed.
QUALITY Computation mode designed for challenging areas with untextured surfaces.
ULTRA Computation mode that favors edges and sharpness.
Requires more GPU memory and computation power.
NEURAL_LIGHT End to End Neural disparity estimation.
Requires AI module.
NEURAL End to End Neural disparity estimation.
Requires AI module.
NEURAL_PLUS End to End Neural disparity estimation. More precise but requires more GPU memory and computation power.
Requires AI module.

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding DEPTH_MODE enum value.

Parameters
name: The string representation of the DEPTH_MODE enum value.
Returns
The corresponding DEPTH_MODE enum value. If the string does not match any DEPTH_MODE, DEPTH_MODE.LAST is returned.