replaymobile_spoof.py 617 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
replay_mobile_directory = rc["bob.db.replay_mobile.directory"]

10
database = DatabaseConnector(
11
12
13
14
    ReplayMobileBioDatabase(
        original_directory=replay_mobile_directory,
        original_extension=".mov",
        protocol="grandtest-spoof",
15
16
17
18
19
    ),
    annotation_type="bounding-box",
    fixed_positions=None,
    # Only compare with spoofs from the same target identity
    allow_scoring_with_all_biometric_references=False,
20
)