Control Avatar (Mediapipe)
Describe how to control MYTY Avatar movement with Mediapipe
Last updated
Describe how to control MYTY Avatar movement with Mediapipe
Last updated
function OnHolisticResult(result: Results)
{
const motionData = {
face: result.faceLandmarks,
pose: result.poseLandmarks,
width: cameraRef.current?.videoWidth,
height: cameraRef.current?.videoHeight
}
sendMessage("MessageHandler", "ProcessCapturedResult", JSON.stringify(motionData));
}