class_docstr: Randomly crop
  
  Args:
  crop_size (tuple|list): The size you want to crop from image.
class_docstr_tok: ["Randomly","crop","Args",":","crop_size","(","tuple|list",")",":","The","size","you","want","to","crop","from","image","."]
code: def __init__(self, crop_size=((320, 320), (480, 480), (640, 640))):
      if not isinstance(crop_size[0], (list, tuple)):
          crop_size = [crop_size]
      self.crop_size = crop_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 RandomCrop object  with example: obj = RandomCrop(crop_size)