Spaces:
Running
Running
Update app.py
Browse files
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")
|