Spaces:
Running
Running
Update app.py
Browse files
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"
|
152 |
cv2.imwrite(f"f{count}_dmap.jpg", depth_color)
|
153 |
-
depth_frames.append(f"
|
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")
|