code: def __init__(
      self,
      size=(640, 640),
      max_tries=10,
      min_crop_side_ratio=0.1,
      keep_ratio=True,
      **kwargs,
  ):
      self.size = size
      self.max_tries = max_tries
      self.min_crop_side_ratio = min_crop_side_ratio
      self.keep_ratio = keep_ratio
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import cv2
  import random
label_desc: Use image node_id 1 to create a new EastRandomCropData object from inherited base classes: object with example: obj = EastRandomCropData(size, max_tries, min_crop_side_ratio, keep_ratio)