docstr: :param size: resize尺寸,数字或者list的形式，如果为list形式，就是[w,h]
  :return:
docstr_tok: [":","param","size",":","resize\u5c3a\u5bf8",",","\u6570\u5b57\u6216\u8005list\u7684\u5f62\u5f0f\uff0c\u5982\u679c\u4e3alist\u5f62\u5f0f\uff0c\u5c31\u662f","[","w",",","h","]",":","return",":"]
code: def __init__(self, short_size, resize_text_polys=True):
      """
      :param size: resize尺寸,数字或者list的形式，如果为list形式，就是[w,h]
      :return:
      """
      self.short_size = short_size
      self.resize_text_polys = resize_text_polys
  
imports: import math
  import numbers
  import random
  import cv2
  import numpy
  from skimage.util import random_noise
label_desc: Use image node_id 1 to create a new ResizeShortSize object  with example: obj = ResizeShortSize(short_size, resize_text_polys)