From 39b484842652e97ac6f553545180ce8f97cbe5d4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 7 Jun 2018 10:20:14 +0200 Subject: less carpy --- live-mogrify.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'live-mogrify.py') 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 -- cgit v1.2.3-70-g09d2