MLGestureClassificationFingerState
Module: Gesture Classification System
Gesture classification state of a single finger. More...
#include <ml_gesture_classification.h>
Public Attributes
Type | Name |
---|---|
bool | is_extended |
float | length_m |
float | normalized_extension |
float | angle_to_palm |
MLGestureClassificationPostureFingerData | posture_data |
Detailed Description
struct MLGestureClassificationFingerState;
Gesture classification state of a single finger.
API Level:
- 20
Public Attributes Documentation
is_extended
bool is_extended;
State of finger.
length_m
float length_m;
Finger length in meters.
normalized_extension
float normalized_extension;
State of finger extension range 0.0 to 1.0. (0.0 folded, 1.0 fully extended).
angle_to_palm
float angle_to_palm;
Absolute angle to palm (angular). -1.0 if the value is not valid.
posture_data
MLGestureClassificationPostureFingerData posture_data;
Type | Description |
---|---|
MLGestureClassificationPostureFingerData | Gesture classification posture related finger data. |
Gesture classification posture related finger data.