anatools.annotations.convert_pascal module

convert_pascal(datadir, outdir, mapping)

Generate annotations in PASCAL VOC format. Result will be placed in outdir.

Parameters
  • datadir (str) – Location of Rendered.ai dataset output.

  • outdir (str) – Location where the results should be written.

  • mapfile (str) – The map file used for annotations (YAML only).

generate_xml(object, xml=None, level=0)