datumaro.plugins.data_formats.cvat.exporter#

Classes

CvatExporter(extractor, save_dir[, reindex, ...])

XmlAnnotationWriter(f)

class datumaro.plugins.data_formats.cvat.exporter.XmlAnnotationWriter(f)[source]#

Bases: object

VERSION = '1.1'#
open_root()[source]#
write_meta(meta)[source]#
open_track(track)[source]#
open_image(image)[source]#
open_box(box)[source]#
open_polygon(polygon)[source]#
open_polyline(polyline)[source]#
open_points(points)[source]#
open_mask(mask)[source]#
open_tag(tag)[source]#
add_attribute(attribute)[source]#
close_box()[source]#
close_polygon()[source]#
close_polyline()[source]#
close_points()[source]#
close_mask()[source]#
close_tag()[source]#
close_image()[source]#
close_track()[source]#
close_root()[source]#
class datumaro.plugins.data_formats.cvat.exporter.CvatExporter(extractor, save_dir, reindex=False, allow_undeclared_attrs=False, use_track=False, **kwargs)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#
classmethod build_cmdline_parser(**kwargs)[source]#
classmethod patch(dataset, patch, save_dir, **kwargs)[source]#