datumaro.plugins.data_formats.kitti.exporter#

Classes

KittiDetectionExporter(*args, **kwargs)

KittiExporter(extractor, save_dir[, tasks, ...])

KittiSegmentationExporter(*args, **kwargs)

LabelmapType(value)

An enumeration.

class datumaro.plugins.data_formats.kitti.exporter.LabelmapType(value)[source]#

Bases: Enum

An enumeration.

kitti = 1#
source = 2#
class datumaro.plugins.data_formats.kitti.exporter.KittiExporter(extractor, save_dir, tasks=None, apply_colormap=True, allow_attributes=True, label_map=None, **kwargs)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.png'#
classmethod build_cmdline_parser(**kwargs)[source]#
get_label(label_id)[source]#
save_label_map()[source]#
save_mask(path, mask, colormap=None, apply_colormap=True, dtype=<class 'numpy.uint8'>)[source]#
class datumaro.plugins.data_formats.kitti.exporter.KittiSegmentationExporter(*args, **kwargs)[source]#

Bases: KittiExporter

class datumaro.plugins.data_formats.kitti.exporter.KittiDetectionExporter(*args, **kwargs)[source]#

Bases: KittiExporter