class_docstr: Resize the short side of an image to given size, and then scale the other side proportionally.
  
  Args:
      short_size (int): The target size of short side.
class_docstr_tok: ["Resize","the","short","side","of","an","image","to","given","size",",","and","then","scale","the","other","side","proportionally",".","Args",":","short_size","(","int",")",":","The","target","size","of","short","side","."]
code: def __init__(self, short_size):
      self.short_size = short_size
  
imports: import os
  import random
  import string
  import cv2
  import numpy
  from paddleseg.transforms import functional
  from paddleseg.cvlibs import manager
  from paddleseg.utils import seg_env
  from PIL import Image
label_desc: Use image node_id 1 to create a new ResizeByShort object  with example: obj = ResizeByShort(short_size)