freealise commited on
Commit
047eeea
1 Parent(s): ceec5fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -148,9 +148,9 @@ def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
148
  # cv2.imwrite(frame_path, combined_frame)
149
 
150
  cv2.imwrite(f"f{count}.jpg", raw_frame)
151
- orig_frames.append(f"vframe{count}.jpg")
152
  cv2.imwrite(f"f{count}_dmap.jpg", depth_color)
153
- depth_frames.append(f"dframe{count}.jpg")
154
  count += 1
155
 
156
  final_vid = create_video(depth_frames, frame_rate, "depth")
 
148
  # cv2.imwrite(frame_path, combined_frame)
149
 
150
  cv2.imwrite(f"f{count}.jpg", raw_frame)
151
+ orig_frames.append(f"f{count}.jpg")
152
  cv2.imwrite(f"f{count}_dmap.jpg", depth_color)
153
+ depth_frames.append(f"f{count}_dmap.jpg")
154
  count += 1
155
 
156
  final_vid = create_video(depth_frames, frame_rate, "depth")