class_docstr: Warp affine the image
      
class_docstr_tok: ["Warp","affine","the","image"]
code: def __init__(
      self,
      keep_res=False,
      pad=31,
      input_h=512,
      input_w=512,
      scale=0.4,
      shift=0.1,
      down_ratio=4,
  ):
      self.keep_res = keep_res
      self.pad = pad
      self.input_h = input_h
      self.input_w = input_w
      self.scale = scale
      self.shift = shift
      self.down_ratio = down_ratio
  
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 1 to create a new WarpAffine object from inherited base classes: object with example: obj = WarpAffine(keep_res, pad, input_h, input_w, scale, shift, down_ratio)