Understanding angles in analyze_skeleton format

Hi , I was able to extract the skeleton angles defined in the config file. However I have some problems understanding it. Taking example for the horse poses.

For example I was interested in the in the Elbow angle , that is between (nearknee, elbow, Stifle) combination, How can i find that angle ? IF understood it would be something like

angle between vector(stifle-elbow) vector (knee -elbow) . However the sample output i get is as follows . It feels i am doing something wrong here . What could be the problem ?

/B

For all segments, angles are expressed relative to a horizontal line (and positive when counter-clockwise by convention). To obtain the desired joint angles, you’d need to subtract one from the other. Have a look at that post too from the original author of analyzeskeleton :slight_smile:

Thanks @jeylau , so i undertand now that they are just relative in space. So for calculating the elbow angle i can do the following

elbow_angle = elbow_stifle - nearknee_elbow (for each frame)

/B

1 Like