diplomat.core_ops.convert

diplomat.core_ops.convert(config: Union[List[Union[PathLike, str]], Union[PathLike, str]], videos: Optional[Union[List[Union[PathLike, str]], Union[PathLike, str]]] = None, help_extra: bool = False, **extra_args) None[source]

Convert DIPLOMAT produced tracking results created for a video from the software specific format to a CSV file for inspection and analysis.

Parameters:
  • config – The path to the configuration file for the project. The format of this argument will depend on the frontend.

  • videos – A single path or list of paths to video or tracking files (depending on frontend) to convert to CSV files.

  • help_extra – Boolean, if set to true print extra settings for the automatically selected frontend instead of showing the UI.

  • extra_args – Any additional arguments (if the CLI, flags starting with ‘–’) are passed to the automatically selected frontend. To see valid values, run tweak with extra_help flag set to true.