Skip to main content
Version: 12 Dec 2024

MLHandTrackingHandState

Module: Hand Tracking

State of a single hand. More...

#include <ml_hand_tracking.h>

Public Attributes

TypeName
boolis_hand_detected
Specifies if the hand is detected.
floathand_confidence
The confidence level of a hand is present in the scene.
bool[MLHandTrackingStaticData_MaxKeyPoints]keypoints_mask
Mask indicates if a keypoint is present or not.

Detailed Description

struct MLHandTrackingHandState;

State of a single hand.

Same for both filtered and unfiltered keypoints.

API Level:

  • 20

Public Attributes Documentation

is_hand_detected

bool is_hand_detected;

Specifies if the hand is detected.


hand_confidence

float hand_confidence;

The confidence level of a hand is present in the scene.

Value is between [0, 1], 0 is low, 1 is high degree of confidence.


keypoints_mask

bool[MLHandTrackingStaticData_MaxKeyPoints] keypoints_mask;

Mask indicates if a keypoint is present or not.

TypeDescription
bool[MLHandTrackingStaticData_MaxKeyPoints][MLHandTrackingStaticData_MaxKeyPoints]