HandLandmarkerOptions interface

Options to configure the MediaPipe HandLandmarker Task

Signature:

export declare interface HandLandmarkerOptions extends VisionTaskOptions 

Extends: VisionTaskOptions

Properties

Property Type Description
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.
numHands number | undefined The maximum number of hands can be detected by the HandLandmarker. Defaults to 1.

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;

HandLandmarkerOptions.numHands

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

Signature:

numHands?: number | undefined;