diplomat.convert_tracks¶
- diplomat.convert_tracks(inputs: List[PathLike | str] | PathLike | str, outputs: None | List[PathLike | str] | PathLike | str = None, force: bool = False) None¶
Convert files storing final tracking results for a video from other software to diplomat’s csv format.
- Parameters:
inputs – A single or list of paths to files to convert to diplomat csvs.
outputs – An optional single path or list of paths, the location to write converted files to. If not specified, places the converted files at same locations as inputs with an extension of .csv instead of the original extension. If the original file was a csv, appends _converted to the filename
force – Flag, if enabled diplomat won’t ask if before overwriting an output file that already exists…