code: def __init__(
      self,
      size=(640, 640),
      max_tries=50,
      min_crop_side_ratio=0.1,
      require_original_image=False,
      keep_ratio=True,
  ):
      self.size = size
      self.max_tries = max_tries
      self.min_crop_side_ratio = min_crop_side_ratio
      self.require_original_image = require_original_image
      self.keep_ratio = keep_ratio
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/data_loader/modules/random_crop_data.py
imports: import random
  import cv2
  import numpy
label_desc: Use image node_id 1 to create a new EastRandomCropData object  with example: obj = EastRandomCropData(size, max_tries, min_crop_side_ratio, require_original_image, keep_ratio)