@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
34 lines (32 loc) • 935 B
text/typescript
export enum CoreComputerVisionHandAttribute {
SELFIE_MODE = 'CoreComputerVisionHand-selfieMode',
MAX_NUM_HANDS = 'CoreComputerVisionHand-maxNumHands',
MODEL_COMPLEXITY = 'CoreComputerVisionHand-modelComplexity',
MIN_DETECTION_CONFIDENCE = 'CoreComputerVisionHand-minDetectionConfidence',
MAX_TRACKING_CONFIDENCE = 'CoreComputerVisionHand-minTrackingConfidence',
KEY = 'CoreComputerVisionHand-key',
}
// https://mediapipe.dev/images/mobile/hand_landmarks.png
export enum CoreComputerVisionHandIndex {
WRIST = 0,
THUMB_CMC = 1,
THUMB_MCP = 2,
THUMB_IP = 3,
THUMB_TIP = 4,
INDEX_FINGER_MCP = 5,
INDEX_FINGER_PIP = 6,
INDEX_FINGER_DIP = 7,
INDEX_FINGER_TIP = 8,
MIDDLE_FINGER_MCP = 9,
MIDDLE_FINGER_PIP = 10,
MIDDLE_FINGER_DIP = 11,
MIDDLE_FINGER_TIP = 12,
RING_FINGER_MCP = 13,
RING_FINGER_PIP = 14,
RING_FINGER_DIP = 15,
RING_FINGER_TIP = 16,
PINKY_MCP = 17,
PINKY_PIP = 18,
PINKY_DIP = 19,
PINKY_TIP = 20,
}