freealise commited on
Commit
ceec5fa
1 Parent(s): 00ea6d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,9 +147,9 @@ def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
147
  # frame_path = os.path.join(temp_frame_dir, f"frame_{count:05d}.png")
148
  # cv2.imwrite(frame_path, combined_frame)
149
 
150
- cv2.imwrite(f"vframe{count}.jpg", raw_frame)
151
  orig_frames.append(f"vframe{count}.jpg")
152
- cv2.imwrite(f"dframe{count}.jpg", depth_color)
153
  depth_frames.append(f"dframe{count}.jpg")
154
  count += 1
155
 
 
147
  # frame_path = os.path.join(temp_frame_dir, f"frame_{count:05d}.png")
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