raiseIOError("Face bounding-box file `%s' is not available - have you ran the metadata generation step or `./bin/bob_dbmanage.py hci_tagging download'?"%(path,))
returnNone
retval={}
withopen(path,'rt')asf:
forrowinf:
ifnotrow.strip():continue
p=row.split()
# .face file: <frame> <x> <y> <width> <height>
# BoundingBox ctor: top left (y, x), size (height, width)
raiseIOError("Metadata file `%s' is not available - have you ran the metadata generation step or `./bin/bob_dbmanage.py hci_tagging download'?"%(path,))
returnNone
f=bob.io.base.HDF5File(path)
returnf.get('heartrate')
defload_drmf_keypoints(self):
"""Loads the 66-keypoints coming from the Discriminative Response Map
Fitting (DRMF) landmark detector.
Fitting (DRMF) landmark detector. Raises if metadata file isn't there.
raiseIOError("Metadata file `%s' is not available - have you ran the metadata generation step or `./bin/bob_dbmanage.py hci_tagging download'?"%(path,))