code: def __init__(
      self,
      image_shape,
      padding=False,
      select_all=True,
      mode="train",
      **kwargs,
  ):
      self.image_shape = image_shape
      self.padding = padding
      self.select_all = select_all
      self.mode = mode
  
file_path: PaddleOCR/ppocr/data/imaug/ssl_img_aug.py
imports: import math
  import cv2
  import numpy
  import random
  from PIL import Image
  from .rec_img_aug import resize_norm_img
label_desc: Use image node_id 1 to create a new SSLRotateResize object from inherited base classes: object with example: obj = SSLRotateResize(image_shape, padding, select_all, mode)