Skip to content
Snippets Groups Projects
Commit ecbfbb11 authored by Anjith GEORGE's avatar Anjith GEORGE
Browse files

Fixes

parent ea11e4cb
No related tags found
No related merge requests found
Pipeline #38986 failed
...@@ -288,12 +288,12 @@ class HQWMCAPadDatabase(PadDatabase): ...@@ -288,12 +288,12 @@ class HQWMCAPadDatabase(PadDatabase):
print('self.streams.image_points',self.streams['color'].image_points) print('self.streams.image_points',self.streams['color'].image_points)
del video #del video
# The reprojected color frames # The reprojected color frames
# load only the reprojected stream # 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 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): ...@@ -348,4 +348,4 @@ class HQWMCAPadDatabase(PadDatabase):
# np.array(a) # np.array(a)
# annot_entries=sorted(aa.keys()) # annot_entries=sorted(aa.keys())
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment