datumaro.plugins.data_formats.icdar.exporter#

Classes

IcdarTextLocalizationExporter(extractor, ...)

IcdarTextSegmentationExporter(extractor, ...)

IcdarWordRecognitionExporter(extractor, ...)

class datumaro.plugins.data_formats.icdar.exporter.IcdarWordRecognitionExporter(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'#
class datumaro.plugins.data_formats.icdar.exporter.IcdarTextLocalizationExporter(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'#
class datumaro.plugins.data_formats.icdar.exporter.IcdarTextSegmentationExporter(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'#