summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 05:26:12 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 05:26:12 +0200
commitbd21e5c16fbae5c29140adc1c9eb47e57a0e333a (patch)
treebd45c67fc186fb8732790a1e260b9219de67d136
parentb9c49ab092e8ba218f096e3f23ffa37bd5444c8f (diff)
testy
-rw-r--r--test-mogrify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index c6deaa3..083154a 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -66,7 +66,7 @@ if __name__ == '__main__':
print(A_dir)
else:
print("Sequence not found")
- sys.exit(1)
+ return A_offset, A_im, A_dir
def process_image(im):
img = im[:, :, ::-1].copy()
@@ -153,7 +153,7 @@ if __name__ == '__main__':
frac_b = 1.0 - frac_a
print("rec: {}, pix: {}".format(frac_a, frac_b))
- load_first_frame()
+ A_offset, A_im, A_dir = load_first_frame()
data_loader = CreateRecursiveDataLoader(opt)
dataset = data_loader.load_data()