Algorithm 1 Body angle calculation | |
Input: A dataset N with skeleton joints in the form ) per timestamp | |
Output: Body orientation angle | |
for in N: | |
if shoulder_joint_pair: | |
apply_coordinates_transformation | |
if | |
else: | |
else: | |
correction_level = analyze_head_data_availability() | |
if camera is Kinect_v2 and correction_level > 80%: | |
apply_orientation_correction ( | |
return | |
end |