from_dlc_file#
- movement.io.load_poses.from_dlc_file(file, fps=None)[source]#
Create a
movementposes dataset from a DeepLabCut file.- Parameters:
- Returns:
movementdataset containing the pose tracks, confidence scores, and associated metadata.- Return type:
Examples
>>> from movement.io import load_poses >>> ds = load_poses.from_dlc_file("path/to/file.h5", fps=30)
Notes
In
movement, pose data can only be loaded if all individuals have the same set of keypoints (i.e., the same labeled body parts). While DeepLabCut supports assigning keypoints that are not shared across individuals (see the DeepLabCut documentation for multi-animal projects), this feature is not currently supported inmovement.