freealise commited on
Commit
40ca016
·
verified ·
1 Parent(s): b600a20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def infer(url_in,interpolation,fps_output):
130
 
131
  ret, frame1 = depth_map.read()
132
  prvs = cv2.cvtColor(frame1, cv2.COLOR_RGB2GRAY)
133
- res = np.zeros_like(prvs)
134
  while(depth_map.isOpened()):
135
  ret, frame2 = depth_map.read()
136
  if ret == False:
 
130
 
131
  ret, frame1 = depth_map.read()
132
  prvs = cv2.cvtColor(frame1, cv2.COLOR_RGB2GRAY)
133
+ res = cv2.cvtColor(frame1, cv2.COLOR_RGB2GRAY)
134
  while(depth_map.isOpened()):
135
  ret, frame2 = depth_map.read()
136
  if ret == False: