Database(original_directory=None, original_extension=None, annotation_directory=None, annotation_extension=None, protocol='all')¶
Class representing the database
See parent class :py:class:bob.db.base.SQLiteDatabase for more details …
Returns the names of all registered groups
protocol (str) – ignored, since the group are the same across protocols.
Returns a set of Samples for the specific query by the user.
Note that a sample may contain up to 3 modalities (color, infrared and depth) The protocol specifies which modality(ies) should be loaded
purposes (str or tuple) – The purposes required to be retrieved (‘real’, ‘attack’) or a tuple with several of them. If ‘None’ is given (this is the default), it is considered the same as a tuple with all possible values.
groups (str or tuple) – One of the groups (‘dev’, ‘eval’, ‘train’) or a tuple with several of them. If ‘None’ is given (this is the default), it is considered the same as a tuple with all possible values.
A list of samples which have the given properties.
- Return type
Returns a string containing the configuration information.