fffiloni commited on
Commit
cd052d2
1 Parent(s): f1ce890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def warp_image(im, flow):
65
  h, w = flow.shape[:2]
66
  flow[:,:,0] += np.arange(w)
67
  flow[:,:,1] += np.arange(h)[:,np.newaxis]
68
- prevImg = cv2.remap(curImg, flow, None, cv.INTER_LINEAR)
69
 
70
  def infer():
71
  video_url = "https://download.pytorch.org/tutorial/pexelscom_pavel_danilyuk_basketball_hd.mp4"
 
65
  h, w = flow.shape[:2]
66
  flow[:,:,0] += np.arange(w)
67
  flow[:,:,1] += np.arange(h)[:,np.newaxis]
68
+ prevImg = cv2.remap(im, flow, None, cv.INTER_LINEAR)
69
 
70
  def infer():
71
  video_url = "https://download.pytorch.org/tutorial/pexelscom_pavel_danilyuk_basketball_hd.mp4"