diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 10:20:14 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 10:20:14 +0200 |
| commit | 39b484842652e97ac6f553545180ce8f97cbe5d4 (patch) | |
| tree | c29dc5d6f633619930b23e933e89bc1bad2b8626 /live-mogrify.py | |
| parent | 6ee137becfa2c0b7e54465ac5cdaae42301abdb1 (diff) | |
less carpy
Diffstat (limited to 'live-mogrify.py')
| -rw-r--r-- | live-mogrify.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/live-mogrify.py b/live-mogrify.py index 2d8989a..75a40a9 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -82,10 +82,10 @@ def load_first_frame(opt, data_opt, i=0): cv2.imwrite(start_img_path, A) numz = re.findall(r'\d+', os.path.basename(opt.start_img)) - print(numz) + # print(numz) if len(numz) > 0: A_offset = int(numz[0]) - print(A_offset) + # print(A_offset) if A_offset: print(">> starting offset: {}".format(A_offset)) A_dir = opt.start_img.replace(numz[0], "{:05d}") @@ -241,8 +241,6 @@ def process_live_input(opt, data_opt, rpc_client, model): create_render_dir(opt) sequence = read_sequence(data_opt.sequence_name) print("Got sequence {}, {} images".format(data_opt.sequence, len(sequence))) - # A_offset, A_im, A_dir = load_first_frame(opt, data_opt, 0) - # A_offset, A_im, A_dir = load_first_frame(opt, data_opt, i) if len(sequence) == 0: print("Got empty sequence...") data_opt.processing = False |
