From cfc73bc46198a4afd82002fbd2b8976d8f0f63d1 Mon Sep 17 00:00:00 2001 From: Olegs NIKISINS <onikisins@italix03.idiap.ch> Date: Sun, 11 Mar 2018 13:54:56 +0100 Subject: [PATCH] Changed attack type to default in Batl HLDI --- bob/pad/face/database/batl.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bob/pad/face/database/batl.py b/bob/pad/face/database/batl.py index ac8ec450..eb20e143 100644 --- a/bob/pad/face/database/batl.py +++ b/bob/pad/face/database/batl.py @@ -40,8 +40,9 @@ class BatlPadFile(PadFile): self.f = f if f.is_attack(): - attack = BATL_CONFIG[f.type_id] - attack_type = '{} : {}'.format(attack['name'], attack['pai'][f.pai_id]) +# attack = BATL_CONFIG[f.type_id] +# attack_type = '{} : {}'.format(attack['name'], attack['pai'][f.pai_id]) + attack_type = 'attack' else: attack_type = None -- GitLab