freealise commited on
Commit
e3943a9
1 Parent(s): 1af901e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
146
  depth_color[mask>0] = (0,0,0)
147
 
148
  rgba_frame = cv2.cvtColor(raw_frame, cv2.COLOR_RGB2RGBA)
149
- rgba_frame = cv2.mixChannels([depth_color], [rgba_frame], [0,3])
150
  blur_frame = rgba_frame.copy()
151
  i = 240
152
  l = 0
 
146
  depth_color[mask>0] = (0,0,0)
147
 
148
  rgba_frame = cv2.cvtColor(raw_frame, cv2.COLOR_RGB2RGBA)
149
+ cv2.mixChannels([depth_color], [rgba_frame], [0,3])
150
  blur_frame = rgba_frame.copy()
151
  i = 240
152
  l = 0