Slice images based off of features in the image (black rectangles). Still very rough, if you run into problems please send test images!
go get -u github.com/kurrik/autoslice
$ 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: