diplomat.utils.track_formats.to_diplomat_pose¶
- diplomat.utils.track_formats.to_diplomat_pose(table: DataFrame) Tuple[Pose, List[str], int][source]¶
Convert a diplomat pandas table to a diplomat Pose object.
- Parameters:
table – A diplomat pandas table, typically as loaded from a CSV.
- Returns:
A tuple containing a diplomat Pose object, a list of string giving the body part names in order, and an integer giving the number of bodies, our outputs.