code: def vec_from_angles(rx, ry):
      rx = np.deg2rad(rx)
      ry = np.deg2rad(ry)
      x1 = np.sin(np.pi / 2 + rx) * np.cos(ry)
      y1 = np.sin(np.pi / 2 + rx) * np.sin(ry)
      z1 = np.cos(np.pi / 2 + rx)
      x, y, z = -z1, y1, -x1
      vec = np.array([x, y, z])
      vec /= np.linalg.norm(vec, axis=0)
      return vec
  
imports: from models import GazeModel
  import sys
  import glob
  import torch
  import os
  import os.path
  import numpy
  import cv2
  import os.path
  import insightface
  from insightface.app import FaceAnalysis
  from insightface.utils import face_align
  import menpo.io
  from menpo.image import Image
  from menpo.shape import PointCloud, TriMesh
label_desc: Use image node_id 4 for calling a global function with example usage: vec_from_angles(rx, ry) and returns: vec