class documentation

class CVATVideoAnnotationWriter(object): (source)

View In Hierarchy

Class for writing annotations in CVAT video format.

See :ref:`this page <CVATVideoDataset-export>` for format details.

Method __init__ Undocumented
Method write Writes the annotations to disk.
Instance Variable template Undocumented
def __init__(self): (source)

Undocumented

def write(self, cvat_task_labels, cvat_tracks, metadata, xml_path, id=None, name=None): (source)

Writes the annotations to disk.

Parameters
cvat_task_labelsa CVATTaskLabels instance
cvat_tracksa list of CVATTrack instances
metadatathe fiftyone.core.metadata.VideoMetadata instance for the video
xml_paththe path to write the annotations XML file
id:Nonean ID for the task
name:Nonea name for the task
template = (source)

Undocumented