Refine manual frames by jonahpearl · Pull Request #2045 · DeepLabCut/DeepLabCut

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.