def _build_crop_box(self):
    ' creates the box for the crop rectangle x1,y1,x2,y2'
    boxMax = min(self.resized_img.size[0], self.resized_img.size[1])
    newImgLen = (boxMax - (boxMax % (self.boxBasePx / self.scale)))
    self.box = [0, 0, newImgLen, newImgLen]
creates the box for the crop rectangle x1,y1,x2,y2
def _build_crop_box(self):
    ' '
    boxMax = min(self.resized_img.size[0], self.resized_img.size[1])
    newImgLen = (boxMax - (boxMax % (self.boxBasePx / self.scale)))
    self.box = [0, 0, newImgLen, newImgLen]