From 08dfe0f60b780873106113011d9a18d6a1d19cc3 Mon Sep 17 00:00:00 2001 From: Olegs NIKISINS <onikisins@italix03.idiap.ch> Date: Mon, 12 Mar 2018 10:01:05 +0100 Subject: [PATCH] Changed the objects() in Batl HLDI to match standart quering --- bob/pad/face/database/batl.py | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/bob/pad/face/database/batl.py b/bob/pad/face/database/batl.py index eb20e143..5f06b276 100644 --- a/bob/pad/face/database/batl.py +++ b/bob/pad/face/database/batl.py @@ -231,26 +231,8 @@ class BatlPadDatabase(PadDatabase): groups, self.low_level_group_names, self.high_level_group_names) # Since this database was designed for PAD experiments, nothing special # needs to be done here. -# files = self.db.objects(protocol=protocol, groups=groups, purposes=purposes **kwargs) - - files = self.db.objects(protocol=protocol, purposes=groups, **kwargs) - -# -# if purposes == ["real", "attack"]: -# -# files = files -# -# if purposes == "real" or purposes == ["real"]: -# -# a = 1 -# -# -# if purposes == "attack" or purposes == ["attack"]: -# -# a = 1 - - + files = self.db.objects(protocol=protocol, groups=groups, purposes=purposes **kwargs) files = [BatlPadFile(f, stream_type, max_frames) for f in files] return files -- GitLab