Update app.py
Browse files
app.py
CHANGED
@@ -143,6 +143,7 @@ def infer(url_in,interpolation,fps_output):
|
|
143 |
prvs = next
|
144 |
|
145 |
cv2.imwrite('opticalfb.png', res)
|
|
|
146 |
cv2.destroyAllWindows()
|
147 |
|
148 |
return final_vid, files, 'opticalfb.png'
|
|
|
143 |
prvs = next
|
144 |
|
145 |
cv2.imwrite('opticalfb.png', res)
|
146 |
+
depth_map.release()
|
147 |
cv2.destroyAllWindows()
|
148 |
|
149 |
return final_vid, files, 'opticalfb.png'
|