Ground Truth Box Crop Transform
Creates a new transform function that crops all images using the ground truth mask as reference. Can also take an additional parameter extra_area that increases the dimensions of the resulting square before cropping images.