summaryrefslogtreecommitdiff
path: root/live-mogrify.py
diff options
context:
space:
mode:
Diffstat (limited to 'live-mogrify.py')
-rw-r--r--live-mogrify.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/live-mogrify.py b/live-mogrify.py
index 86e82b7..155ee1d 100644
--- a/live-mogrify.py
+++ b/live-mogrify.py
@@ -331,7 +331,7 @@ def process_live_input(opt, data_opt, rpc_client, model):
data_opt.load_sequence = False
new_sequence = read_sequence(data_opt.sequence_name)
if len(new_sequence) != 0:
- print("Got sequence {}, {} images, first: {}".format(data_opt.sequence_name, len(sequence), sequence[0]))
+ print("Got sequence {}, {} images, first: {}".format(data_opt.sequence_name, len(new_sequence), new_sequence[0]))
sequence = new_sequence
sequence_i = 1
else:
@@ -426,7 +426,8 @@ def process_live_input(opt, data_opt, rpc_client, model):
cv2.imwrite(tmp_path, next_img)
os.rename(tmp_path, next_path)
- print("created {}".format(next_path))
+ if (i % 20) == 0:
+ print("created {}".format(next_path))
if data_opt.pause:
data_opt.pause = False
break