Skip to content

Cut the long drawing in equal parts and cut to form a square

Notifications You must be signed in to change notification settings

ZziTaiLeo/Jigsaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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

the Example is as follows

output_img as

output

input_img as

input

About

Cut the long drawing in equal parts and cut to form a square

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published