@vladmandic/human
Version:
Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition
28 lines (26 loc) • 635 B
text/typescript
export const kpt: string[] = [
'head',
'neck',
'rightShoulder',
'rightElbow',
'rightWrist',
'chest',
'leftShoulder',
'leftElbow',
'leftWrist',
'bodyCenter',
'rightHip',
'rightKnee',
'rightAnkle',
'leftHip',
'leftKnee',
'leftAnkle',
];
export const connected: Record<string, string[]> = {
leftLeg: ['leftHip', 'leftKnee', 'leftAnkle'],
rightLeg: ['rightHip', 'rightKnee', 'rightAnkle'],
torso: ['leftShoulder', 'rightShoulder', 'rightHip', 'leftHip', 'leftShoulder'],
leftArm: ['leftShoulder', 'leftElbow', 'leftWrist'],
rightArm: ['rightShoulder', 'rightElbow', 'rightWrist'],
head: [],
};