object_split function

Splits objects from an image into multiple images