deepof.utils.compute_areas

deepof.utils.compute_areas(coords, animal_id=None)

Compute relevant areas (head, torso, back, full) for the provided coordinates.

Parameters:
  • coords – coordinates of the body parts for a single time point.

  • animal_id – animal id for the provided coordinates, if any.

Returns:

list including head, torso, back, and full areas for the provided coordinates.

Return type:

areas