code: def __init__(self, short_size=640, **kwargs):
      self.short_size = short_size
  
imports: import os
  import cv2
  import random
  import pyclipper
  import paddle
  import numpy
  from ppocr.utils.utility import check_install
  import scipy.io
  from PIL import Image
  import paddle.vision.transforms
label_desc: Use image node_id 1 to create a new RandomScale object  with example: obj = RandomScale(short_size)