Skip to content
ZziTaiLeoPublic

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages