freealise commited on
Commit
b600a20
1 Parent(s): 1b9c8e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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'