BODY_KEYPOINTS_SELECTION Class Reference

Lists supported models for skeleton keypoints selection. More...

Static Functions

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

Detailed Description

Lists supported models for skeleton keypoints selection.

Enumerator
FULL Full keypoint model
UPPER_BODY Upper body keypoint model
Will output only upper body (from hip).

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding BODY_KEYPOINTS_SELECTION enum value.

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