summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-25 19:03:25 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-25 19:03:25 +0200
commitd3efa7ea08cfdecd48f219ba9cb3b989c6f40325 (patch)
tree5c5b105aa58ff2dcf246655b046f05a280bcc528
parent68db55aed3a917a17a1ee4b705bafaaa560a95c7 (diff)
process sequences
-rw-r--r--run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.py b/run.py
index f6ae201..7e0fa46 100644
--- a/run.py
+++ b/run.py
@@ -97,8 +97,8 @@ def recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count,
if step < 2 * dilate:
return [img_np]
else:
- left = recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count, step, frame_index - (step/2))
- right = recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count, step, frame_index + (step/2))
+ left = recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count, step, frame_index - (step/2), dilate)
+ right = recurse_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, count, step, frame_index + (step/2), dilate)
return left + [img_np] + right
def process_two_videos(moduleNetwork, tensorOutput, a, b, a_offset, b_offset, steps, dilate):