class_docstr: Random crop with a random shape
class_docstr_tok: ["Random","crop","with","a","random","shape"]
docstr: 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): this argument has no effect and is deprecated.
docstr_tok: ["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",")",":","this","argument","has","no","effect","and","is","deprecated","."]
code: def __init__(
      self, wmin, hmin, wmax=None, hmax=None, max_aspect_ratio=None
  ):
      """
      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): this argument has no effect and is deprecated.
      """
      super(RandomCropRandomShape, self).__init__()
      if max_aspect_ratio is not None:
          log_deprecated(
              "RandomCropRandomShape(max_aspect_ratio)",
              "It is never implemented!",
              "2020-06-06",
          )
      self._init(locals())
  
imports: import numpy
  import cv2
  from ...utils.argtools import shape2d
  from ...utils.develop import log_deprecated
  from .base import ImageAugmentor, ImagePlaceholder
  from .transform import CropTransform, TransformList, ResizeTransform, PhotometricTransform
  from .misc import ResizeShortestEdge
label_desc: Use image node_id 1 to create a new RandomCropRandomShape object from inherited base classes: ImageAugmentor with example: obj = RandomCropRandomShape(wmin, hmin, wmax, hmax, max_aspect_ratio)