'Randomly crop a box of shape (h, w), sampled from [min, max] (both inclusive).
If max is None, will use the input image shape.
Args:
wmin, hmin, wmax, hmax: range to sample shape.
max_aspect_ratio (float): the upper bound of ``max(w,h)/min(w,h)``.'

def __init__(self, wmin, hmin, wmax=None, hmax=None, max_aspect_ratio=None):

    if (max_aspect_ratio is None):
        max_aspect_ratio = 9999999
    self._init(locals())
