code: def estimate_pose(vertices):
      canonical_vertices = np.load(
          "Data/uv-data/canonical_vertices.npy"
      )
      P = compute_similarity_transform(vertices, canonical_vertices)
      _, R, _ = P2sRt(P)  # decompose affine matrix to s, R, t
      pose = matrix2angle(R)
  
      return P, pose
  
file_path: PaddleHub/modules/image/image_processing/prnet/utils/estimate_pose.py
imports: from math import asin
  from math import atan2
  from math import cos
  from math import sin
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: estimate_pose(vertices) and returns: P,  pose