Long Distance Heterogeneous Face Database (LDHF-DB)¶
-
class
bob.db.nivl.Annotation(file_id, le_x, le_y, re_x, re_y)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base- Annotation.id
- x
- y
-
file_id¶
-
le_x¶
-
le_y¶
-
re_x¶
-
re_y¶
-
class
bob.db.nivl.Client(id, group)[source]¶ Bases:
sqlalchemy.ext.declarative.api.BaseInformation about the clients (identities) of the LDHF.
-
id¶
-
-
class
bob.db.nivl.Database(original_directory=None, original_extension=None)[source]¶ Bases:
bob.db.base.SQLiteDatabaseWrapper class for the Near-Infrared and Visible-Light (NIVL) Dataset
-
annotations(file, annotation_type='eyes_center')[source]¶ This function returns the annotations for the given file id as a dictionary.
Parameters
- file:
bob.db.base.File - The File object you want to retrieve the annotations for,
- Return
- A dictionary of annotations, for face images usually something like {‘leye’:(le_y,le_x), ‘reye’:(re_y,re_x), …}, or None if there are no annotations for the given file ID (which is the case in this base class implementation).
- file:
-
objects(groups=None, protocol=None, purposes=None, model_ids=None, modality=None, **kwargs)[source]¶ This function returns lists of File objects, which fulfill the given restrictions.
-
groups(protocol=None, **kwargs)[source]¶ This function returns the list of groups for this database.
-
zclients(protocol=None)[source]¶ Returns a set of Z-Norm clients for the specific query by the user.
-
tclients(protocol=None)[source]¶ Returns a set of T-Norm clients for the specific query by the user.
-
zobjects(protocol=None, groups=None)[source]¶ Returns a set of Z-Norm objects for the specific query by the user.
-
tobjects(protocol=None, model_ids=None, groups=None)[source]¶ Returns a set of T-Norm objects for the specific query by the user.
-
tmodel_ids(groups=None, protocol=None, **kwargs)[source]¶ This function returns the ids of the T-Norm models of the given groups for the given protocol.
-
modality_separator¶
-
modalities¶
-
-
class
bob.db.nivl.File(file_id, image_name, client_id, modality, session, year)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base,bob.db.base.FileInformation about the files of the LDHF database.
Each file includes * the client id
-
modality_choices= ('VIS', 'NIR')¶
-
id¶
-
path¶
-
client¶
-
all_annotations¶
-
client_id¶
-
modality¶
-
session¶
-
year¶
-