Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def infer(url_in,interpolation,fps_output):
|
|
| 132 |
prvs = cv2.cvtColor(fr1, cv2.COLOR_RGBA2GRAY)
|
| 133 |
hsv = np.zeros_like(fr1)
|
| 134 |
hsv[..., 1] = 255
|
| 135 |
-
res =
|
| 136 |
flow = res
|
| 137 |
while(depth_map.isOpened()):
|
| 138 |
ret, fr2 = depth_map.read()
|
|
|
|
| 132 |
prvs = cv2.cvtColor(fr1, cv2.COLOR_RGBA2GRAY)
|
| 133 |
hsv = np.zeros_like(fr1)
|
| 134 |
hsv[..., 1] = 255
|
| 135 |
+
res = np.zeros_like(prvs)
|
| 136 |
flow = res
|
| 137 |
while(depth_map.isOpened()):
|
| 138 |
ret, fr2 = depth_map.read()
|