dgs.models.dataset.MOT.write_MOT_file

dgs.models.dataset.MOT.write_MOT_file(fp: str, data: list[tuple[any, ...]], sep=',') None[source]

Given MOT data, write it to the given path.

Parameters:
  • fp – The filepath to save the file to.

  • data – A list containing the MOT data of every detection independently.

  • sep – The separator to use between the values of every detection.