arface.py 375 Bytes
Newer Older
1 2
#!/usr/bin/env python

3 4
from bob.bio.base.pipelines.vanilla_biometrics import DatabaseConnector
from bob.extension import rc
5 6
from bob.bio.face.database import ARFaceBioDatabase

7
arface_directory = rc["bob.db.arface.directory"]
8

9 10 11 12
database = DatabaseConnector(
    ARFaceBioDatabase(
        original_directory=arface_directory, original_extension=".png", protocol="all"
    )
13
)