Update app.py
Browse files
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
|