converter module

class datumaro.plugins.icdar_format.converter.IcdarWordRecognitionConverter(extractor: datumaro.components.extractor.IExtractor, save_dir: str, *, save_images=None, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, ctx: Optional[datumaro.components.converter.ExportContext] = None)[source]

Bases: datumaro.components.converter.Converter

DEFAULT_IMAGE_EXT = '.png'
apply()[source]
class datumaro.plugins.icdar_format.converter.IcdarTextLocalizationConverter(extractor: datumaro.components.extractor.IExtractor, save_dir: str, *, save_images=None, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, ctx: Optional[datumaro.components.converter.ExportContext] = None)[source]

Bases: datumaro.components.converter.Converter

DEFAULT_IMAGE_EXT = '.png'
apply()[source]
class datumaro.plugins.icdar_format.converter.IcdarTextSegmentationConverter(extractor: datumaro.components.extractor.IExtractor, save_dir: str, *, save_images=None, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, ctx: Optional[datumaro.components.converter.ExportContext] = None)[source]

Bases: datumaro.components.converter.Converter

DEFAULT_IMAGE_EXT = '.png'
apply()[source]