Body angles pose estimation

Job ID: 35513500

Budget: €8 – €30 EUR

Using a pose estimation framework (example: Mediapipe), i need a simple script to calculate some on the angles of the body and record the results to a CSV file.
The file wile contain six columns :
• Timestamp (Timestamp)
• arm_left (angle between vertical axe and left arm in degrees)
• arm_right (angle between vertical axe and right arm in degrees)
• forearm_left (angle between arm and left forearm)
• forearm_right (angle between arm and right forearm)
• trunk (angle between leg axe and trunk)
I have attached drawing explaining how the angles are calculated, and example of the mediapipe joints numbers used. Also attached there is a simple picture of the CSV file,
You can use python , with opencv and mediapipe or any other open framework that can achieve same result.
teh script will record on the file until qe quit the execution.
Related categories: Python OpenCV