Open afogel opened 3 years ago
looks good to me!
The approach I am considering is still the same: before/in/after drawing, check if some essential landmarks are empty. If, for example, abdomen landmarks do not exist, it means the abdomen is not in the camera frame, with the assumption that we do not store data from prev states.
Regarding the question about which landmarks do we check, I think it is best to check the boundaries of the human body: face, shins, and hands. If these three parts are not shown on camera, the rest of the body is not shown on camera.
If I have access to those landmarks in Story.js, it might be efficient to check there? I need to look into mediapipe/holistic for more information.
I like that general approach, @likeketchup
If a player's body is too close to the webcam, they won't be able to perform the required poses. We should warn them to move back in an easy to understand way.