OBJECT_ACCELERATION_PRESET Class Reference

Lists supported presets for maximum acceleration allowed for a given tracked object. More...

Static Functions

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

Detailed Description

Lists supported presets for maximum acceleration allowed for a given tracked object.

Enumerator
DEFAULT The ZED SDK will automatically determine the appropriate maximum acceleration.
LOW Suitable for objects with relatively low maximum acceleration (e.g., a person walking).
MEDIUM Suitable for objects with moderate maximum acceleration (e.g., a person running).
HIGH Suitable for objects with high maximum acceleration (e.g., a car accelerating, a kicked sports ball).

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding OBJECT_ACCELERATION_PRESET enum value.

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