INNER CODE UNIT · Python

xy

zhulinyv/Semi-Auto-NovelAI-to-Pixiv · src/batch_mosaic.py:88

                xy = [(x, y), (x + w, y)]
                draw.line(
                    xy,
                    fill="black",
                    width=int(10 * 0.35),
                )
                y += int(box[3] * 0.15)
        image.save(img_path)
        revert_img_info(None, img_path, image.info)


# -------------------- #


def main(file_path, input_img, open_button, mode):
    if open_button:
        file_list = file_namel2pathl(file_path2list(file_path), file_path)
    else:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…