def _cropbox(self, image, x, y, x2, y2):
image['<STR_LIT>']['<STR_LIT>'] = '<STR_LIT>' % (x2 - x, y2 - y, x, y)<EOL>image['<STR_LIT:size>'] = (x2 - x, y2 - y)  <EOL>return image<EOL>
Crops the image to a set of x,y coordinates (x,y) is top left, (x2,y2) is bottom left