image_dir_format module

class datumaro.plugins.image_dir_format.ImageDirImporter[source]

Bases: datumaro.components.extractor.Importer

classmethod find_sources(path)[source]
class datumaro.plugins.image_dir_format.ImageDirExtractor(url, subset=None, max_depth=None, exts=None)[source]

Bases: datumaro.components.extractor.SourceExtractor

__init__(url, subset=None, max_depth=None, exts=None)[source]
class datumaro.plugins.image_dir_format.ImageDirConverter(extractor, save_dir, save_images=False, image_ext=None, default_image_ext=None, save_dataset_meta=False)[source]

Bases: datumaro.components.converter.Converter

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