Skip to main content
Version: 21 Aug 2024

MLGestureClassificationState

Module: Gesture Classification System

Gesture classification state of a single hand. More...

#include <ml_gesture_classification.h>

Public Attributes

TypeName
MLGestureClassificationPostureTypeposture_type
MLGestureClassificationKeyPoseTypekeypose_type
MLGestureClassificationFingerStatethumb
MLGestureClassificationFingerStateindex
MLGestureClassificationFingerStatemiddle
MLGestureClassificationFingerStatering
MLGestureClassificationFingerStatepinky
floatangle_thumb_index_deg
floatangle_index_middle_deg
floatangle_middle_ring_deg
floatangle_ring_pinky_deg

Detailed Description

struct MLGestureClassificationState;

Gesture classification state of a single hand.

API Level:

  • 20

Public Attributes Documentation

posture_type

MLGestureClassificationPostureType posture_type;
TypeDescription
MLGestureClassificationPostureTypeSystem gesture classification posture type.

Gesture classification hand posture type.


keypose_type

MLGestureClassificationKeyPoseType keypose_type;
TypeDescription
MLGestureClassificationKeyPoseTypeSystem gesture classification key pose type.

Gesture classification hand key pose type.


thumb

MLGestureClassificationFingerState thumb;
TypeDescription
MLGestureClassificationFingerStateGesture classification state of a single finger.

Thumb finger state data.


index

MLGestureClassificationFingerState index;
TypeDescription
MLGestureClassificationFingerStateGesture classification state of a single finger.

Index finger state data.


middle

MLGestureClassificationFingerState middle;
TypeDescription
MLGestureClassificationFingerStateGesture classification state of a single finger.

Middle finger state data.


ring

MLGestureClassificationFingerState ring;
TypeDescription
MLGestureClassificationFingerStateGesture classification state of a single finger.

Ring finger state data.


pinky

MLGestureClassificationFingerState pinky;
TypeDescription
MLGestureClassificationFingerStateGesture classification state of a single finger.

Pinky finger state data.


angle_thumb_index_deg

float angle_thumb_index_deg;

Angle between thumb and index (angular) in degrees.


angle_index_middle_deg

float angle_index_middle_deg;

Angle between index and middle (angular) in degrees.


angle_middle_ring_deg

float angle_middle_ring_deg;

Angle between middle and ring (angular) in degrees.


angle_ring_pinky_deg

float angle_ring_pinky_deg;

Angle between ring and pinky (angular) in degrees.