roaldarbol / animovement

An R toolbox for analysing animal movement across space and time
http://www.roald-arboel.com/animovement/
Other
4 stars 0 forks source link

Calculate centroid for multi-keypoint poses #37

Open roaldarbol opened 4 days ago

roaldarbol commented 4 days ago

It should be feasible to calculate the centroid of multi-keypoint poses from pose estimation. It is simply the point that has the shortest mean distance to all keypoints (https://en.wikipedia.org/wiki/Centroid). I could also make it easier to generate plots of poses and possibly for converting from allocentric to egocentric coordinates.