code: def affine_transform(pt, t):
      new_pt = np.array([pt[0], pt[1], 1.0]).T
      new_pt = np.dot(t, new_pt)
      return new_pt[:2]
  
file_path: PaddleHub/modules/image/keypoint_detection/pp-tinypose/keypoint_postprocess.py
imports: import math
  import cv2
  import numpy
  from .keypoint_preprocess import get_affine_transform
label_desc: Use image node_id 2 for calling a global function with example usage: affine_transform(pt, t) and returns: new_pt