From f60a4f8ef1b5bda193e6c18501e393408de29ada Mon Sep 17 00:00:00 2001 From: Tiago Freitas Pereira <tiagofrepereira@gmail.com> Date: Thu, 8 Oct 2020 10:40:41 +0200 Subject: [PATCH] Implemented new MOBIO protocol --- bob/bio/face/config/database/mobio_all.py | 17 +++++++++++++++++ setup.py | 1 + 2 files changed, 18 insertions(+) create mode 100644 bob/bio/face/config/database/mobio_all.py diff --git a/bob/bio/face/config/database/mobio_all.py b/bob/bio/face/config/database/mobio_all.py new file mode 100644 index 00000000..8492d8cb --- /dev/null +++ b/bob/bio/face/config/database/mobio_all.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python + +from bob.bio.face.database import MobioBioDatabase +from bob.bio.base.pipelines.vanilla_biometrics import DatabaseConnector +from bob.extension import rc + +database = DatabaseConnector( + MobioBioDatabase( + original_directory=rc["bob.db.mobio.directory"], + annotation_directory=rc["bob.db.mobio.annotation_directory"], + original_extension=".png", + protocol="mobile0-male-female", + ), + annotation_type = "eyes-center", + fixed_positions = None +) + diff --git a/setup.py b/setup.py index d8e733b0..aca470a4 100644 --- a/setup.py +++ b/setup.py @@ -115,6 +115,7 @@ setup( 'lfw-restricted = bob.bio.face.config.database.lfw_restricted:database', 'lfw-unrestricted = bob.bio.face.config.database.lfw_unrestricted:database', 'mobio-male = bob.bio.face.config.database.mobio_male:database', + 'mobio-all = bob.bio.face.config.database.mobio_all:database', 'msu-mfsd-mod-licit = bob.bio.face.config.database.msu_mfsd_mod:msu_mfsd_mod_licit', 'msu-mfsd-mod-spoof = bob.bio.face.config.database.msu_mfsd_mod:msu_mfsd_mod_spoof', 'multipie = bob.bio.face.config.database.multipie:database', -- GitLab