Commit 81d2d597 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Changed the annotations to work with HLDI load method

parent 03121b15
Pipeline #17594 failed with stage
in 21 minutes and 5 seconds
......@@ -248,14 +248,15 @@ class BatlPadDatabase(PadDatabase):
if not os.path.isfile(file_path): # no file with annotations
video = f.f.load(directory=self.original_directory,
extension=self.original_extension,
modality="color", # TODO: this parameter is currently missing in bob.db.batl, add it there
reference_stream_type="color",
warp_to_reference=False,
convert_to_rgb=False,
crop=None,
max_frames=None)['video']
f.stream_type = "color"
f.reference_stream_type = "color"
f.warp_to_reference = False
f.convert_to_rgb = False
f.crop = None
f.video_data_only = True
video = f.load(directory=self.original_directory,
extension=self.original_extension)
annotations = {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment