Skip to main content
Version: 20 Mar 2024

MLGestureClassificationPostureFingerData

Module: Gesture Classification System

Gesture classification posture related finger data. More...

#include <ml_gesture_classification.h>

Public Attributes

TypeName
floatpinch_normalized_angle
floatpinch_angle_of_separation_deg
floatpinch_normalized_distance
floatpinch_distance_m

Detailed Description

struct MLGestureClassificationPostureFingerData;

Gesture classification posture related finger data.

Pinch values are measured between the finger and thumb. In case thumb is the finger, values are same with index's values.

API Level:

  • 20

Public Attributes Documentation

pinch_normalized_angle

float pinch_normalized_angle;

Normalized pinch angle (range 0.0 ~ 1.0). -1.0 if the value is not valid.


pinch_angle_of_separation_deg

float pinch_angle_of_separation_deg;

Absolute pinch angle (angular) in degrees. -1.0 if the value is not valid.


pinch_normalized_distance

float pinch_normalized_distance;

Normalized pinch distance (range 0.0 ~ 1.0). -1.0 if the value is not valid.


pinch_distance_m

float pinch_distance_m;

Absolute pinch distance (euclidean) in meters. -1.0 if the value is not valid.