fffiloni commited on
Commit
7a51391
·
1 Parent(s): 2e90b3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ def infer():
226
  # print('flow stats mul', flow.max(), flow.min(), flow.mean())
227
  # res = cv2.remap(img, flow, None, cv2.INTER_LINEAR)
228
  res = cv2.remap(frame1pil, numpy_array_flow, None, cv2.INTER_LANCZOS4)
229
- #print(res)
230
  return "done", "predicted_flow.jpg", ["flofile.flo"], 'frame_input.jpg'
231
  ####################################
232
  # Bonus: Creating GIFs of predicted flows
 
226
  # print('flow stats mul', flow.max(), flow.min(), flow.mean())
227
  # res = cv2.remap(img, flow, None, cv2.INTER_LINEAR)
228
  res = cv2.remap(frame1pil, numpy_array_flow, None, cv2.INTER_LANCZOS4)
229
+ print(res)
230
  return "done", "predicted_flow.jpg", ["flofile.flo"], 'frame_input.jpg'
231
  ####################################
232
  # Bonus: Creating GIFs of predicted flows