// 내보낼 landmarks 값
const newLandmarks = {
// [position, rotation, state(hand)]
head: [face[1], calc_head_rotation(head[0])],
leftHand: hands[0] ? [
calc_hand_center(hands[0], faceResult.facialTransformationMatrixes[0]),
calc_hand_rotation(hands[0]),
determinHandState(hands[0])
] : null,
rightHand: hands[1] ? [
calc_hand_center(hands[1]),
calc_hand_rotation(hands[1]),
determinHandState(hands[1])
] : null,
};
0708