HandLandmarkerOptions interface

Options to configure the MediaPipe HandLandmarker Task

Signature:

export declare interface HandLandmarkerOptions extends VisionTaskOptions 

Properties

Property Modifiers Type Description
numHands number | undefined The maximum number of hands can be detected by the HandLandmarker. Defaults to 1.
minHandDetectionConfidence number | undefined The minimum confidence score for the hand detection to be considered successful. Defaults to 0.5.
minHandPresenceConfidence number | undefined The minimum confidence score of hand presence score in the hand landmark detection. Defaults to 0.5.
minTrackingConfidence number | undefined The minimum confidence score for the hand tracking to be considered successful. Defaults to 0.5.

HandLandmarkerOptions.numHands

The maximum number of hands can be detected by the HandLandmarker. Defaults to 1.

Signature:

numHands?: number | undefined;

HandLandmarkerOptions.minHandDetectionConfidence

The minimum confidence score for the hand detection to be considered successful. Defaults to 0.5.

Signature:

minHandDetectionConfidence?: number | undefined;

HandLandmarkerOptions.minHandPresenceConfidence

The minimum confidence score of hand presence score in the hand landmark detection. Defaults to 0.5.

Signature:

minHandPresenceConfidence?: number | undefined;

HandLandmarkerOptions.minTrackingConfidence

The minimum confidence score for the hand tracking to be considered successful. Defaults to 0.5.

Signature:

minTrackingConfidence?: number | undefined;