datumaro.plugins.data_formats.dota#

Classes

DotaBase([path, img_path, subset, ctx])

DotaExporter(extractor, save_dir, *[, ...])

DotaFormat()

DotaImporter()

class datumaro.plugins.data_formats.dota.DotaFormat[source]#

Bases: object

ANNOTATION_DIR = 'labelTxt'#
IMAGE_DIR = 'images'#
class datumaro.plugins.data_formats.dota.DotaBase(path: List[str] | None = None, *, img_path: str | None = None, subset: str | None = None, ctx: ImportContext | None = None)[source]#

Bases: SubsetBase

class datumaro.plugins.data_formats.dota.DotaImporter[source]#

Bases: Importer

classmethod detect(context: FormatDetectionContext) FormatDetectionConfidence[source]#
classmethod find_sources(path: str) List[Dict[str, Any]][source]#
classmethod get_file_extensions() List[str][source]#
class datumaro.plugins.data_formats.dota.DotaExporter(extractor: IDataset, save_dir: str, *, save_media: bool | None = None, image_ext: str | None = None, default_image_ext: str | None = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: ExportContext | None = None)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.png'#