from_anipose_file#

movement.io.load_poses.from_anipose_file(file, fps=None, individual_name='id_0')[source]#

Create a movement poses dataset from an Anipose 3D .csv file.

Parameters:
  • file (str | Path) – Path to the Anipose triangulation .csv file

  • fps (float | None) – The number of frames per second in the video. If None (default), the time coordinates will be in frame units.

  • individual_name (str) – Name of the individual, by default “id_0”

Returns:

movement dataset containing the pose tracks, confidence scores, and associated metadata.

Return type:

Dataset

Notes

We currently do not load all information, only x, y, z, and score (confidence) for each keypoint. Future versions will load n of cameras and error.