HandLandmarkerOptions interface

Options to configure the MediaPipe HandLandmarker Task

Signature:

  export 
  
 declare 
  
 interface 
  
 HandLandmarkerOptions 
  
 extends 
  
 VisionTaskOptions 
  
 

Extends: VisionTaskOptions

Properties

Property Type Description
number | undefined The minimum confidence score for the hand detection to be considered successful. Defaults to 0.5.
number | undefined The minimum confidence score of hand presence score in the hand landmark detection. Defaults to 0.5.
number | undefined The minimum confidence score for the hand tracking to be considered successful. Defaults to 0.5.
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 
 ; 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: