freealise commited on
Commit
4c18d25
1 Parent(s): 4112f71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
170
 
171
  cv2.imwrite(f"f{count}_dmap.png", depth_color)
172
  depth_frames.append(f"f{count}_dmap.png")
173
- masks.append(depth_color)
174
  count += 1
175
 
176
  final_vid = create_video(depth_frames, frame_rate, "depth")
 
170
 
171
  cv2.imwrite(f"f{count}_dmap.png", depth_color)
172
  depth_frames.append(f"f{count}_dmap.png")
173
+ masks.append(depth_color.copy())
174
  count += 1
175
 
176
  final_vid = create_video(depth_frames, frame_rate, "depth")