fffiloni commited on
Commit
8d34a40
·
1 Parent(s): fd0a544

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def warpImage(im, vx, vy, cast_uint8=True):
68
  function to warp images with different dimensions
69
  '''
70
  print(f"WARP IM INPUT SHAPE: {im.shape}")
71
-
72
  height2, width2, nChannels = im.shape
73
  print(f"WARP vx INPUT SHAPE: {vx.shape}")
74
  height1, width1 = vx.shape
 
68
  function to warp images with different dimensions
69
  '''
70
  print(f"WARP IM INPUT SHAPE: {im.shape}")
71
+ im.reshape([3, 520, 960]))
72
  height2, width2, nChannels = im.shape
73
  print(f"WARP vx INPUT SHAPE: {vx.shape}")
74
  height1, width1 = vx.shape