CLI Commands¶
DIPLOMAT supports the following list of subcommands when running it’s CLI.
Tracking and Analysis Commands¶
Run DIPLOMAT tracking on videos and/or frame stores. Automatically select a frontend based on the passed arguments. Allows for selecting a specific tracker, or predictor. |
|
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. |
|
Run diplomat in a non-interactive tracking mode on the specified config and videos or frame stores. An alias for DIPLOMAT track_with with the SegmentedFramePassEngine predictor. The interactive UI can be restored later using diplomat interact function or cli command. |
|
Have diplomat annotate, or label a video given it has already been tracked. |
|
Split a video into even length segments. This will produce a list of videos with “-part{number}” appended to the original video name in the same directory as the original video. |
|
Make modifications to DIPLOMAT produced tracking results created for a video using a limited version of the interactive labeling UI. Allows for touching up and fixing any minor issues that may arise after tracking and saving results. |
|
Run DIPLOMAT based on a passed yaml run script. The yaml script should include a ‘command’ key specifying the DIPLOMAT sub-command to run and an ‘arguments’ key specifying the list of arguments (key-value pairs) to pass to the command. |
|
Open diplomat’s interactive UI from a .dipui file. Allows for reloading the UI when diplomat crashes, or for further editing. Settings and backend will be restored automatically based on the settings and info passed during the first run. |
|
Convert files storing final tracking results for a video from other software to diplomat’s csv format. |
Development Commands¶
Retrieve and print all currently installed and available predictor plugins that can be used with DIPLOMAT to the console… |
|
Run the tests for a predictor plugin. |
|
Prints the available/modifiable settings for a specified predictor plugin. |
|
List all frontends currently included with this version of DIPLOMAT. |
|
List frontends that have successfully loaded, and list their supported functions. |