datumaro.plugins.data_formats.image_zip#

Classes

Compression(value)

An enumeration.

ImageZipBase(url, *[, subset, ctx])

ImageZipExporter(extractor, save_dir[, ...])

ImageZipImporter()

ImageZipPath()

class datumaro.plugins.data_formats.image_zip.Compression(value)[source]#

Bases: Enum

An enumeration.

ZIP_STORED = 0#
ZIP_DEFLATED = 8#
ZIP_BZIP2 = 12#
ZIP_LZMA = 14#
class datumaro.plugins.data_formats.image_zip.ImageZipPath[source]#

Bases: object

DEFAULT_ARCHIVE_NAME = 'default.zip'#
DEFAULT_COMPRESSION = 0#
class datumaro.plugins.data_formats.image_zip.ImageZipBase(url: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#

Bases: SubsetBase

class datumaro.plugins.data_formats.image_zip.ImageZipImporter[source]#

Bases: Importer

classmethod find_sources(path)[source]#
classmethod get_file_extensions() List[str][source]#
class datumaro.plugins.data_formats.image_zip.ImageZipExporter(extractor, save_dir, name=None, compression=None, **kwargs)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#
classmethod build_cmdline_parser(**kwargs)[source]#