Update app.py
Browse files
app.py
CHANGED
|
@@ -67,8 +67,9 @@ def warpImage(im, vx, vy, cast_uint8=True):
|
|
| 67 |
'''
|
| 68 |
function to warp images with different dimensions
|
| 69 |
'''
|
| 70 |
-
|
| 71 |
height2, width2, nChannels = im.shape
|
|
|
|
| 72 |
height1, width1 = vx.shape
|
| 73 |
|
| 74 |
x = np.linspace(1, width2, width2)
|
|
|
|
| 67 |
'''
|
| 68 |
function to warp images with different dimensions
|
| 69 |
'''
|
| 70 |
+
print(f"WARP IM INPUT SHAPE: {im.shape}")
|
| 71 |
height2, width2, nChannels = im.shape
|
| 72 |
+
print(f"WARP vx INPUT SHAPE: {vx.shape}")
|
| 73 |
height1, width1 = vx.shape
|
| 74 |
|
| 75 |
x = np.linspace(1, width2, width2)
|