Commit 858462f7 authored by DepFA's avatar DepFA Committed by GitHub

do caption copy for both flips

parent 55d8c6cc
...@@ -82,7 +82,7 @@ def preprocess_work(process_src, process_dst, process_width, process_height, pre ...@@ -82,7 +82,7 @@ def preprocess_work(process_src, process_dst, process_width, process_height, pre
subindex[0] += 1 subindex[0] += 1
def save_pic(image, index, existing_caption=None): def save_pic(image, index, existing_caption=None):
save_pic_with_caption(image, index) save_pic_with_caption(image, index, existing_caption=existing_caption)
if process_flip: if process_flip:
save_pic_with_caption(ImageOps.mirror(image), index, existing_caption=existing_caption) save_pic_with_caption(ImageOps.mirror(image), index, existing_caption=existing_caption)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment