Jigsaw is a long graph that is evenly cut according to height and spliced into a square. All you need to do is follow these two steps.
- clone this project
- put all your images in a dirctory, then use shell:
$ python crop.py --input_dirs /path/your/dirs_or_image_file --output_dirs /path/to/your/output_dir