GameCanvas.js

Player.js

network/socket.js

hooks/useWebSocket.js

useMotionCapture.js

tasksVision.js

// 내보낼 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,
        };

useMotionCapture.js

칼만필터


0708