class_docstr: Randomly crop images and make sure to contain at least one intact
  instance.
code: def __init__(
      self, crop_ratio=5.0 / 8.0, min_side_ratio=0.4, **kwargs
  ):
      super().__init__()
      self.crop_ratio = crop_ratio
      self.min_side_ratio = min_side_ratio
  
imports: import numpy
  from PIL import Image, ImageDraw
  import cv2
  from shapely.geometry import Polygon
  import math
  from ppocr.utils.poly_nms import poly_intersection
label_desc: Use image node_id 1 to create a new RandomCropPolyInstances object  with example: obj = RandomCropPolyInstances(crop_ratio, min_side_ratio)