kwcoco.formats.voc module

Helpers for the Pascal VOC format. (used by ImageNet)

kwcoco.formats.voc.read_voc_image(xml_fpath, data_dpath='.')[source]
kwcoco.formats.voc.add_vocdata_to_coco(image_xml_fpaths, data_dpath, workers=0, dset=None)[source]
Args,:
dset (CocoDataset | None):

existing dataset to add to. If not given, then make a new one.