Skip to main content

Class: MediaPipeHandContext

Defined in: src/input/gestures/poseEstimators/MediaPipeHandPoseEstimator.ts:50

Implements​

Constructors​

Constructor​

new MediaPipeHandContext(handedness, handLabel, landmarks): MediaPipeHandContext

Defined in: src/input/gestures/poseEstimators/MediaPipeHandPoseEstimator.ts:53

Parameters​

handedness​

Handedness

handLabel​

HandLabel

landmarks​

MediaPipeHandLandmark[]

Returns​

MediaPipeHandContext

Properties​

handedness​

handedness: Handedness

Defined in: src/input/gestures/poseEstimators/MediaPipeHandPoseEstimator.ts:54

Implementation of​

HandContext.handedness


handLabel​

handLabel: HandLabel

Defined in: src/input/gestures/poseEstimators/MediaPipeHandPoseEstimator.ts:55

Implementation of​

HandContext.handLabel


joints​

joints: JointPositions

Defined in: src/input/gestures/poseEstimators/MediaPipeHandPoseEstimator.ts:51

Implementation of​

HandContext.joints

Methods​

getJoint()​

getJoint(jointName): Vector3 | undefined

Defined in: src/input/gestures/poseEstimators/MediaPipeHandPoseEstimator.ts:61

Parameters​

jointName​

"wrist" | "thumb-metacarpal" | "thumb-phalanx-proximal" | "thumb-phalanx-distal" | "thumb-tip" | "index-finger-metacarpal" | "index-finger-phalanx-proximal" | "index-finger-phalanx-intermediate" | "index-finger-phalanx-distal" | "index-finger-tip" | "middle-finger-metacarpal" | "middle-finger-phalanx-proximal" | "middle-finger-phalanx-intermediate" | "middle-finger-phalanx-distal" | "middle-finger-tip" | "ring-finger-metacarpal" | "ring-finger-phalanx-proximal" | "ring-finger-phalanx-intermediate" | "ring-finger-phalanx-distal" | "ring-finger-tip" | "pinky-finger-metacarpal" | "pinky-finger-phalanx-proximal" | "pinky-finger-phalanx-intermediate" | "pinky-finger-phalanx-distal" | "pinky-finger-tip"

Returns​

Vector3 | undefined

Implementation of​

HandContext.getJoint