Overridden version of the load method defined in the ``bob.db.base.File``.
**Parameters:**
``directory`` : :py:class:`str`
String containing the path to the Replay database.
``extension`` : :py:class:`str`
Extension of the video files in the Replay database.
**Returns:**
``filtered_image`` : :py:class:`dict`
A dictionary containing the key-value pairs: "video" key containing the frames data,
and "bbx" containing the coordinates of the face bounding boxes for each frame.
"""
path=self.f.make_path(directory=directory,extension=extension)# path to the video file
frame_selector=bob.bio.video.FrameSelector(selection_style='all')# this frame_selector will select all frames from the video file
video_data=frame_selector(path)# video data
bbx_data=self.f.bbx(directory=directory)# numpy array containing the face bounding box data for each video frame, returned data format described in the f.bbx() method of the low level interface
return_dictionary={}
return_dictionary["video"]=video_data
return_dictionary["bbx"]=bbx_data
returnreturn_dictionary# dictionary containing the face bounding box annotations and video data