p.add_argument('--client',type=int,action='append',choices=identities,dest='replay_client',help="Client identifier (if unset, the default, use all)")
p.add_argument('--client',type=int,action='append',choices=identities,dest='replay_client',help="Client identifier (if unset, the default, use all)")
p.add_argument('--ICB-2013',default=False,action='store_true',dest='icb2013',help="Retrieve the File list of the ICB 2013 competition anonymized test set (The 2nd competition on counter measures to 2D facial spoofing attacks).")
p.set_defaults(name=entry_point_name)
p.set_defaults(name=entry_point_name)
p.set_defaults(cls=Database)
p.set_defaults(cls=Database)
...
@@ -129,7 +159,6 @@ class Database(DatabaseBase):
...
@@ -129,7 +159,6 @@ class Database(DatabaseBase):
defget_data(self,group):
defget_data(self,group):
"""Returns either all objects or objects for a specific group"""
"""Returns either all objects or objects for a specific group"""
real=dict(self.__kwargs)
real=dict(self.__kwargs)
real.update({'groups':group,'cls':'real'})
real.update({'groups':group,'cls':'real'})
attack=dict(self.__kwargs)
attack=dict(self.__kwargs)
...
@@ -146,12 +175,31 @@ class Database(DatabaseBase):
...
@@ -146,12 +175,31 @@ class Database(DatabaseBase):