Skip to content

Conversation

@n-poulsen
Copy link
Contributor

Closes #2877

This pull request address video analysis and labeled video creation for multi-animal projects.

  • adds an animal_names parameter to deeplabcut.analyze_videos and deeplabcut.stitch_tracklets, allowing users to pass custom animal names when analyzing novel videos
  • when users ask to track fewer animals than the number defined in the project config.yaml, the first n names are taken instead of replacing the names with ["ind0", "ind1", ...]
  • fixes the use of the displayedindividuals parameter in create_labeled_video when the names of the individuals in the analysis DataFrame don't match the name of the individuals in the project config.yaml

@n-poulsen n-poulsen added the enhancement New feature or request label Feb 17, 2025
Copy link
Contributor

@maximpavliv maximpavliv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @n-poulsen !!

@n-poulsen n-poulsen merged commit fa2ebee into main Feb 17, 2025
5 checks passed
@n-poulsen n-poulsen deleted the niels/individual_naming branch February 17, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Individuals are mislabeled when analyzing the video

3 participants