Skip to main content
Version: 14 Oct 2024

MLGestureClassificationFingerState

Module: Gesture Classification System

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

#include <ml_gesture_classification.h>

Public Attributes

TypeName
boolis_extended
floatlength_m
floatnormalized_extension
floatangle_to_palm
MLGestureClassificationPostureFingerDataposture_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;
TypeDescription
MLGestureClassificationPostureFingerDataGesture classification posture related finger data.

Gesture classification posture related finger data.