code: def __call__(self, im, im_info):
      # cut
      im = im[self.cut_height :, :, :]
      # resize
      transform = iaa.Sometimes(
          self.prob,
          iaa.Resize({"height": self.img_h, "width": self.img_w}),
      )
      im = transform(image=im.copy().astype(np.uint8))
  
      im = im.astype(np.float32) / 255.0
      # check transpose is need whether the func decode_image is equal to CULaneDataSet cv.imread
      im = im.transpose(2, 0, 1)
  
      return im, im_info
  
imports: import cv2
  import numpy
  import imgaug.augmenters
  from keypoint_preprocess import get_affine_transform
  from PIL import Image
label_desc: Use image node_id 2 for calling the CULaneResize obj's underlying member method code with example usage: obj.__call__(im, im_info) and returns: im,  im_info