BODY_TRACKING_MODEL Class Reference

Lists available models for the body tracking module. More...

Static Functions

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

Detailed Description

Lists available models for the body tracking module.

Enumerator
HUMAN_BODY_FAST Keypoints based, specific to human skeleton, real time performance even on Jetson or low end GPU cards.
HUMAN_BODY_ACCURATE Keypoints based, specific to human skeleton, state of the art accuracy, requires powerful GPU.
HUMAN_BODY_MEDIUM Keypoints based, specific to human skeleton, compromise between accuracy and speed.

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding BODY_TRACKING_MODEL enum value.

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