diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 19:03:25 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-25 19:03:25 +0200 |
| commit | d3efa7ea08cfdecd48f219ba9cb3b989c6f40325 (patch) | |
| tree | 5c5b105aa58ff2dcf246655b046f05a280bcc528 | |
| parent | 68db55aed3a917a17a1ee4b705bafaaa560a95c7 (diff) | |
process sequences
| -rw-r--r-- | run.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |
