Skip to content
Snippets Groups Projects
Commit 08dfe0f6 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Changed the objects() in Batl HLDI to match standart quering

parent cfc73bc4
Branches
Tags
1 merge request!59Added HLDI for the BATL database, added optional data normalization in FaceCropAlign
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment