diplomat csv label_videos

Summary

Labeled videos with arbitrary csv files in diplomat’s csv format.

Usage

diplomat csv label_videos [-h] --config
                                 [FILE, ...]|FILE --videos [FILE, ...]|FILE [--body_parts_to_plot [STR, ...]]
                                 [--video_extension STR] [--pcutoff FLOAT]
                                 [--dotsize INT] [--alphavalue FLOAT]
                                 [--colormap TO_COLORMAP]
                                 [--shape_list [STR, ...]]
                                 [--line_thickness INT]
                                 [--skeleton [[STR, STR], ...]|{STR: [STR, ...], ...}|[STR, ...]|NONE|BOOL]
                                 [--skeleton_color TO_RGBA]
                                 [--output_codec CV2_FOURCC_STRING]
                                 [--draw_hidden_tracks BOOL]
                                 [--antialiasing BOOL]
                                 [--upscale_factor FLOAT]

Options

usage: diplomat csv label_videos [-h] --config
                                 [FILE, ...]|FILE --videos [FILE, ...]|FILE [--body_parts_to_plot [STR, ...]]
                                 [--video_extension STR] [--pcutoff FLOAT]
                                 [--dotsize INT] [--alphavalue FLOAT]
                                 [--colormap TO_COLORMAP]
                                 [--shape_list [STR, ...]]
                                 [--line_thickness INT]
                                 [--skeleton [[STR, STR], ...]|{STR: [STR, ...], ...}|[STR, ...]|NONE|BOOL]
                                 [--skeleton_color TO_RGBA]
                                 [--output_codec CV2_FOURCC_STRING]
                                 [--draw_hidden_tracks BOOL]
                                 [--antialiasing BOOL]
                                 [--upscale_factor FLOAT]

Labeled videos with arbitrary csv files in diplomat's csv format.

optional arguments:
  -h, --help            show this help message and exit
  --config [FILE, ...]|FILE, -c [FILE, ...]|FILE
                        The path (or list of paths) to the csv file(s) to
                        label the videos with.
  --videos [FILE, ...]|FILE, -v [FILE, ...]|FILE
                        Paths to video file(s) corresponding to the provided
                        csv files.
  --body_parts_to_plot [STR, ...], -bptp [STR, ...]
                        A set or list of body part names to label, or None,
                        indicating to label all parts.
  --video_extension STR, -ve STR
                        The file extension to use on the created labeled
                        video, excluding the dot. Defaults to 'mp4'.
  --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).
  --skeleton_color TO_RGBA
                        Color of the skeleton.
  --output_codec CV2_FOURCC_STRING
                        The codec to use for the labeled video...
  --draw_hidden_tracks BOOL
                        Whether or not to draw locations under the pcutoff
                        value.
  --antialiasing BOOL   Use antialiasing when drawing points.
  --upscale_factor FLOAT
                        A optional integer multiplier to use for increasing
                        the size of the output video.