diff --git a/bob/pad/face/database/hqwmca.py b/bob/pad/face/database/hqwmca.py index 571490ba6aac3605de9464b1ed1f5593b12c503a..81cb28708417873c58ab033f046553af3a9ec1c5 100644 --- a/bob/pad/face/database/hqwmca.py +++ b/bob/pad/face/database/hqwmca.py @@ -288,12 +288,12 @@ class HQWMCAPadDatabase(PadDatabase): print('self.streams.image_points',self.streams['color'].image_points) - del video + #del video # The reprojected color frames # load only the reprojected stream - video = ff.vf.load( directory=self.original_directory, extension=self.original_extension, streams={'rep_color': rep_color_stream}, n_frames=self.n_frames) + video = ff.vf.load( directory=self.original_directory, extension=self.original_extension, streams={'rep_color': rep_color_stream}, n_frames=self.n_frames)['rep_color'] for idx, image in enumerate(video.as_array()): # next line is not loading the data but just use the projection , probably wont work @@ -348,4 +348,4 @@ class HQWMCAPadDatabase(PadDatabase): # np.array(a) -# annot_entries=sorted(aa.keys()) \ No newline at end of file +# annot_entries=sorted(aa.keys())