diplomat sleap tweak_videos

Summary

Make minor modifications and tweaks to sleap results (stored in .slp files) using DIPLOMAT’s supervised UI.

Usage

diplomat sleap tweak_videos [-h] --config FILE --videos
                                   [FILE, ...]|FILE [--pcutoff FLOAT]
                                   [--dotsize INT] [--alphavalue FLOAT]
                                   [--colormap TO_COLORMAP]
                                   [--shape_list [STR, ...]]
                                   [--line_thickness INT]
                                   [--skeleton [[STR, STR], ...]|{STR: [STR, ...], ...}|[STR, ...]|NONE|BOOL]

Options

-h, --help            show this help message and exit
--config FILE, -c FILE
                      The path (or list of paths) to the sleap model(s) used
                      for inference, each as either as a folder or zip file.
--videos [FILE, ...]|FILE, -v [FILE, ...]|FILE
                      Paths to the sleap label files, or .slp files, to make
                      minor modifications to, NOT the video files.
--pcutoff FLOAT       The probability to cutoff results below.
--dotsize INT         The size of the dots.
--alphavalue FLOAT    The alpha value of the dots.
--colormap TO_COLORMAP
                      The colormap to use for tracked points in the video.
                      Can be a matplotlib colormap or a list of matplotlib
                      colors.
--shape_list [STR, ...]
                      A list of shape names, shapes to use for drawing each
                      individual's dots.
--line_thickness INT  Thickness of lines drawn.
--skeleton [[STR, STR], ...]|{STR: [STR, ...], ...}|[STR, ...]|NONE|BOOL
                      The skeleton to use for this this run of DIPLOMAT.
                      Defaults to None, which uses the skeleton associated
                      with the sleap project. Can be a list of strings, a
                      list of tuples of strings, a dictionary of strings to
                      strings or lists of strings, or True/False (True
                      connects all parts, False connects no parts, disabling
                      the skeleton).