code: def __init__(
      self,
      image_shape=[512, 512],
      background_ratio=0.125,
      min_crop_side_ratio=0.1,
      min_text_size=10,
      **kwargs,
  ):
      self.input_size = image_shape[1]
      self.random_scale = np.array([0.5, 1, 2.0, 3.0])
      self.background_ratio = background_ratio
      self.min_crop_side_ratio = min_crop_side_ratio
      self.min_text_size = min_text_size
  
file_path: PaddleOCR/ppocr/data/imaug/east_process.py
imports: import math
  import cv2
  import numpy
  import json
  import sys
  import os
label_desc: Use image node_id 1 to create a new EASTProcessTrain object from inherited base classes: object with example: obj = EASTProcessTrain(image_shape, background_ratio, min_crop_side_ratio, min_text_size)