freealise commited on
Commit
79ffbb4
1 Parent(s): 46388c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def make_video(video_path, outdir='./vis_video_depth', encoder='vits'):
150
  blur_hi = np.array([i+16,i+16,i+16])
151
  blur_mask = cv2.inRange(depth_color, blur_lo, blur_hi)
152
 
153
- blur = cv2.GaussianBlur(raw_frame,(int((256-i)/16),int((256-i)/16)),0)
154
  blur_frame = raw_frame.copy()
155
  blur_frame[blur_mask>0] = blur[blur_mask>0]
156
  i = i + 16
 
150
  blur_hi = np.array([i+16,i+16,i+16])
151
  blur_mask = cv2.inRange(depth_color, blur_lo, blur_hi)
152
 
153
+ blur = cv2.GaussianBlur(raw_frame,(int((256-i)/16*2-1),int((256-i)/16*2-1)),0)
154
  blur_frame = raw_frame.copy()
155
  blur_frame[blur_mask>0] = blur[blur_mask>0]
156
  i = i + 16