vgg_face2_format module

class datumaro.plugins.vgg_face2_format.VggFace2Path[source]

Bases: object

ANNOTATION_DIR = 'bb_landmark'
IMAGE_EXT = '.jpg'
BBOXES_FILE = 'loose_bb_'
LANDMARKS_FILE = 'loose_landmark_'
LABELS_FILE = 'labels.txt'
IMAGES_DIR_NO_LABEL = 'no_label'
class datumaro.plugins.vgg_face2_format.VggFace2Extractor(path)[source]

Bases: datumaro.components.extractor.Extractor

__init__(path)[source]
__iter__()[source]
categories()[source]
class datumaro.plugins.vgg_face2_format.VggFace2Importer[source]

Bases: datumaro.components.extractor.Importer

classmethod detect(context: datumaro.components.format_detection.FormatDetectionContext) None[source]
classmethod find_sources(path)[source]
class datumaro.plugins.vgg_face2_format.VggFace2Converter(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]