Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 896 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 896 Bytes

Autoslice

Slice images based off of features in the image (black rectangles). Still very rough, if you run into problems please send test images!

test source image

Installing

go get -u github.com/kurrik/autoslice

Running

$ autoslice -dst=/path/to/dst/folder /path/to/source/image.png

Exporting regions:
  * image0001.png - (139,139)-(340,340)
  * image0002.png - (379,79)-(530,130)
Writing out.png.

The produced images look like:

image0001.png

test export 01

image0002.png

test export 02

out.png

test export out