fffiloni commited on
Commit
0603124
1 Parent(s): 41e00e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def warpImage(im, vx, vy, cast_uint8=True):
78
  xx, yy = np.meshgrid(x, y)
79
  XX, YY = np.meshgrid(X, Y)
80
  #XX = XX + vx
81
- XX = np.concatenate([XX, vx], axis = 0)
82
  #YY = YY + vy
83
  YY = np.concatenate([YY, vy], axis = 0)
84
  mask = (XX < 1) | (XX > width2) | (YY < 1) | (YY > height2)
 
78
  xx, yy = np.meshgrid(x, y)
79
  XX, YY = np.meshgrid(X, Y)
80
  #XX = XX + vx
81
+ XX = np.concatenate([XX, vx], axis = 1)
82
  #YY = YY + vy
83
  YY = np.concatenate([YY, vy], axis = 0)
84
  mask = (XX < 1) | (XX > width2) | (YY < 1) | (YY > height2)