class documentation

class VOCAnnotationWriter(object): (source)

View In Hierarchy

Class for writing annotations in VOC format.

See :ref:`this page <VOCDetectionDataset-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, annotation, xml_path): (source)

Writes the annotations to disk.

Parameters
annotationa VOCAnnotation instance
xml_paththe path to write the annotation XML file
template = (source)

Undocumented