#!/usr/bin/env python

from bob.bio.face.database import LFWBioDatabase

lfw_directory = "[YOUR_LFW_FUNNELED_DIRECTORY]"

database = LFWBioDatabase(
    original_directory=lfw_directory,
    annotation_type='funneled',

    protocol='view1',
    training_depends_on_protocol=True,
    models_depend_on_protocol=True,

    all_files_options={'world_type': 'restricted'},
    extractor_training_options={'world_type': 'restricted'},  # 'subworld' : 'twofolds'
    projector_training_options={'world_type': 'restricted'},  # 'subworld' : 'twofolds'
    enroller_training_options={'world_type': 'restricted'}  # 'subworld' : 'twofolds'
)
