From d3efa7ea08cfdecd48f219ba9cb3b989c6f40325 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 25 Jun 2018 19:03:25 +0200 Subject: process sequences --- run.py | 4 ++-- 1 file 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): -- cgit v1.2.3-70-g09d2