Command Line Interface

Command line tool for evoking the toolkit.

This tool allows users to quickly apply pre-build pipelines to one or more media files.

Example

Assuming we have an input named “video-clip.mp4”, the following example shows the default usage of the command line interface:

> python3 -m dvt video-viz video-clip.mp4

This may take several minutes to complete. Some minimal logging information should display the annotators progress in your terminal. Once finished, you should have a new directory dvt-output-data that contains extracted metadata and frames from the source material. You can view the extracted information by starting a local http server:

> cd dvt-output-data; python3 -m http.server –directory

And opening the following: http://0.0.0.0:8000/

dvt.cli.print_help()[source]

Print useful help message for the toolkit commandline interface.

dvt.cli.run_cli(args=None)[source]

Command line tool for evoking the toolkit.

This function is not intended to be called directly from an external program. Run with caution.