diplomat track_and_interactΒΆ

Summary

Run diplomat in interactive tracking mode on the specified config and videos or frame stores. An alias for DIPLOMAT track_with with the SupervisedSegmentedFramePassEngine predictor.

Usage

diplomat track_and_interact [-h] [--config [FILE, ...]|FILE|NONE]
                                   [--videos [FILE, ...]|FILE]
                                   [--frame_stores [FILE, ...]|FILE]
                                   [--num_outputs INT] [--batch_size INT]
                                   [--settings {STR: VAL, ...}]
                                   [--output_suffix STR] [--help_extra]
                                   [--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, ...]|FILE|NONE, -c [FILE, ...]|FILE|NONE
                        The path to the configuration file for the project.
                        The format of this argument will depend on the
                        frontend.
  --videos [FILE, ...]|FILE, -v [FILE, ...]|FILE
                        A single path or list of paths to video files to run
                        analysis on.
  --frame_stores [FILE, ...]|FILE, -fs [FILE, ...]|FILE
                        A single path or list of paths to frame store files to
                        run analysis on.
  --num_outputs INT, -no INT
                        An integer, the number of bodies to track in the
                        video. If not set the frontend will try to pull it
                        from the project configuration.
  --batch_size INT, -bs INT
                        An integer, the number of frame to process at a single
                        time. If not set the frontend will try to pull it from
                        the project configuration.
  --settings {STR: VAL, ...}, -s {STR: VAL, ...}
                        An optional dictionary, listing the settings to use
                        for the specified predictor plugin instead of the
                        defaults. If not specified, the frontend will
                        determine the settings in a frontend specific manner.
                        To see the settings a predictor plugin supports, use
                        the "diplomat predictors list_settings" command or
                        "diplomat.get_predictor_settings" function. To get
                        more information about how a frontend gets settings if
                        not passed, set the help_extra parameter to True to
                        print additional settings for the selected frontend
                        instead of running tracking.
  --output_suffix STR, -os STR
                        String, a suffix to append to name of the output file.
                        Defaults to no suffix...
  --help_extra, -he     Boolean, if set to true print extra settings for the
                        automatically selected frontend instead of running
                        tracking.
  --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 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).

Any additional arguments (if the CLI, flags starting with '--') are passed to
the frontend, visual settings, or predictor, in that order. To see valid
frontend arguments, run track with extra_help flag set to true.