mirror of https://github.com/vladmandic/human
29 lines
616 B
TypeScript
29 lines
616 B
TypeScript
![]() |
export const kpt = [
|
||
|
'nose',
|
||
|
'leftEye',
|
||
|
'rightEye',
|
||
|
'leftEar',
|
||
|
'rightEar',
|
||
|
'leftShoulder',
|
||
|
'rightShoulder',
|
||
|
'leftElbow',
|
||
|
'rightElbow',
|
||
|
'leftWrist',
|
||
|
'rightWrist',
|
||
|
'leftHip',
|
||
|
'rightHip',
|
||
|
'leftKnee',
|
||
|
'rightKnee',
|
||
|
'leftAnkle',
|
||
|
'rightAnkle',
|
||
|
];
|
||
|
|
||
|
export const connected = {
|
||
|
leftLeg: ['leftHip', 'leftKnee', 'leftAnkle'],
|
||
|
rightLeg: ['rightHip', 'rightKnee', 'rightAnkle'],
|
||
|
torso: ['leftShoulder', 'rightShoulder', 'rightHip', 'leftHip', 'leftShoulder'],
|
||
|
leftArm: ['leftShoulder', 'leftElbow', 'leftWrist'],
|
||
|
rightArm: ['rightShoulder', 'rightElbow', 'rightWrist'],
|
||
|
head: [],
|
||
|
};
|