Update app.py
Browse files
app.py
CHANGED
@@ -193,7 +193,7 @@ def infer():
|
|
193 |
# output_folder = "/tmp/" # Update this to the folder of your choice
|
194 |
write_jpeg(flow_img, f"predicted_flow.jpg")
|
195 |
flo_file = write_flo(predicted_flow, "flofile.flo")
|
196 |
-
write_jpeg(
|
197 |
#res = warp_image(img1_batch, predicted_flow)
|
198 |
res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png')
|
199 |
print(res)
|
|
|
193 |
# output_folder = "/tmp/" # Update this to the folder of your choice
|
194 |
write_jpeg(flow_img, f"predicted_flow.jpg")
|
195 |
flo_file = write_flo(predicted_flow, "flofile.flo")
|
196 |
+
write_jpeg(frames[100], f"input_image.jpg")
|
197 |
#res = warp_image(img1_batch, predicted_flow)
|
198 |
res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png')
|
199 |
print(res)
|