class documentation

class CVATImageAnnotationWriter(object): (source)

View In Hierarchy

Class for writing annotations in CVAT image format.

See :ref:`this page <CVATImageDataset-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_images, xml_path, id=None, name=None): (source)

Writes the annotations to disk.

Parameters
cvat_task_labelsa CVATTaskLabels instance
cvat_imagesa list of CVATImage instances
xml_paththe path to write the annotations XML file
id:Nonean ID for the task
name:Nonea name for the task
template = (source)

Undocumented