Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def warp_flow(img, flow, mul=1.):
|
|
78 |
# res = cv2.remap(img, flow, None, cv2.INTER_LINEAR)
|
79 |
res = cv2.remap(img, flow, None, cv2.INTER_LANCZOS4)
|
80 |
|
81 |
-
print
|
82 |
|
83 |
def get_warp_res(fname_image, fname_flow, fname_output='warped.png'):
|
84 |
print(f"FNAME IMAGE: {fname_image}")
|
|
|
78 |
# res = cv2.remap(img, flow, None, cv2.INTER_LINEAR)
|
79 |
res = cv2.remap(img, flow, None, cv2.INTER_LANCZOS4)
|
80 |
|
81 |
+
print(res)
|
82 |
|
83 |
def get_warp_res(fname_image, fname_flow, fname_output='warped.png'):
|
84 |
print(f"FNAME IMAGE: {fname_image}")
|