Mediapipe is a pretty versatile tool to track body motion – both face landmarks, hand tracking and full body tracking all based on a single webcam feed. The following code comes up with a simple test scenario for all three tracks.

https://turboflip.de/mediapipe/