Skip to content

Conversation

@jonahpearl
Copy link
Contributor

Allows passing a list of frames to the extraction of outlier frames. Similar to manual mode, but for CLI.

Example usage:

for video, frame_list in frame_dict.items():
    deeplabcut.extract_outlier_frames(config_path,
                               [video],
                               outlieralgorithm='list',
                               frames2use=frame_list,
                               automatic=True,
                               extractionalgorithm='uniform')

It looks like the code hasn't been formatted to black in a while so I skipped that step. Haven't been able to test this formally as described in #2044, but will happily do so if that's resolved.

@MMathisLab
Copy link
Member

bump @jeylau :D

Copy link
Contributor

@jeylau jeylau left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks @jonahpearl!

@MMathisLab MMathisLab merged commit 596acc3 into DeepLabCut:main Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants