datumaro.plugins.data_formats.widerface#

Classes

WiderFaceBase(path, *[, subset, ctx])

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

WiderFaceImporter()

WiderFacePath()

class datumaro.plugins.data_formats.widerface.WiderFacePath[source]#

Bases: object

IMAGE_EXT = '.jpg'#
ANNOTATIONS_DIR = 'wider_face_split'#
IMAGES_DIR = 'images'#
SUBSET_DIR = 'WIDER_'#
LABELS_FILE = 'labels.txt'#
IMAGES_DIR_NO_LABEL = 'no_label'#
BBOX_ATTRIBUTES = ['blur', 'expression', 'illumination', 'occluded', 'pose', 'invalid']#
DEFAULT_LABEL = 'face'#
class datumaro.plugins.data_formats.widerface.WiderFaceBase(path: str, *, subset: Optional[str] = None, ctx: Optional[ImportContext] = None)[source]#

Bases: SubsetBase

class datumaro.plugins.data_formats.widerface.WiderFaceImporter[source]#

Bases: Importer

classmethod detect(context: FormatDetectionContext) None[source]#
classmethod find_sources(path)[source]#
class datumaro.plugins.data_formats.widerface.WiderFaceExporter(extractor: IDataset, save_dir: str, *, save_media: Optional[bool] = None, image_ext: Optional[str] = None, default_image_ext: Optional[str] = None, save_dataset_meta: bool = False, save_hashkey_meta: bool = False, stream: bool = False, ctx: Optional[ExportContext] = None)[source]#

Bases: Exporter

DEFAULT_IMAGE_EXT = '.jpg'#