replaymobile.py 649 Bytes
Newer Older
1 2 3
#!/usr/bin/env python

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


8 9 10 11 12 13 14 15
replay_mobile_directory = rc["bob.db.replay_mobile.directory"]

replaymobile_licit = DatabaseConnector(
    ReplayMobileBioDatabase(
        original_directory=replay_mobile_directory,
        original_extension=".mov",
        protocol="grandtest-licit",
    )
16 17
)

18 19 20 21 22 23
replaymobile_spoof = DatabaseConnector(
    ReplayMobileBioDatabase(
        original_directory=replay_mobile_directory,
        original_extension=".mov",
        protocol="grandtest-spoof",
    )
24
)