ValidVIATracksCSV#

class movement.validators.files.ValidVIATracksCSV(path)[source]#

Bases: object

Class for validating VIA tracks .csv files.

The validator ensures that the file:

  • contains the expected header,

  • contains valid frame numbers,

  • contains tracked bounding boxes, and

  • defines bounding boxes whose IDs are unique per image file.

path#

Path to the VIA tracks .csv file.

Type:

pathlib.Path

Raises:

ValueError – If the file does not match the VIA tracks .csv file requirements.