Some fixes to allow vulnerability tests with replay-attack and replay-mobile database

parent 5612c3af
Pipeline #46394 passed with stage
in 41 minutes and 51 seconds
......@@ -7,18 +7,14 @@ from bob.extension import rc
replay_attack_directory = rc["bob.db.replay.directory"]
replay_licit = DatabaseConnector(
# Licit
database = DatabaseConnector(
ReplayBioDatabase(
original_directory=replay_attack_directory,
original_extension=".mov",
protocol="grandtest-licit",
)
),
annotation_type="bounding-box",
fixed_positions=None,
)
replay_spoof = DatabaseConnector(
ReplayBioDatabase(
original_directory=replay_attack_directory,
original_extension=".mov",
protocol="grandtest-spoof",
)
)
#!/usr/bin/env python
from bob.bio.face.database import ReplayBioDatabase
from bob.bio.base.pipelines.vanilla_biometrics import DatabaseConnector
from bob.extension import rc
replay_attack_directory = rc["bob.db.replay.directory"]
database = DatabaseConnector(
ReplayBioDatabase(
original_directory=replay_attack_directory,
original_extension=".mov",
protocol="grandtest-spoof",
),
annotation_type="bounding-box",
fixed_positions=None,
# Only compare with spoofs from the same target identity
allow_scoring_with_all_biometric_references=False,
)
......@@ -7,18 +7,12 @@ from bob.extension import rc
replay_mobile_directory = rc["bob.db.replay_mobile.directory"]
replaymobile_licit = DatabaseConnector(
database = DatabaseConnector(
ReplayMobileBioDatabase(
original_directory=replay_mobile_directory,
original_extension=".mov",
protocol="grandtest-licit",
)
)
replaymobile_spoof = DatabaseConnector(
ReplayMobileBioDatabase(
original_directory=replay_mobile_directory,
original_extension=".mov",
protocol="grandtest-spoof",
)
),
annotation_type="bounding-box",
fixed_positions=None,
)
#!/usr/bin/env python
from bob.bio.face.database import ReplayMobileBioDatabase
from bob.bio.base.pipelines.vanilla_biometrics import DatabaseConnector
from bob.extension import rc
replay_mobile_directory = rc["bob.db.replay_mobile.directory"]
database = DatabaseConnector(
ReplayMobileBioDatabase(
original_directory=replay_mobile_directory,
original_extension=".mov",
protocol="grandtest-spoof",
),
annotation_type="bounding-box",
fixed_positions=None,
# Only compare with spoofs from the same target identity
allow_scoring_with_all_biometric_references=False,
)
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment