code: def angles_from_vec(vec):
      x, y, z = -vec[2], vec[1], -vec[0]
      theta = np.arctan2(y, x)
      phi = np.arctan2(np.sqrt(x**2 + y**2), z) - np.pi / 2
      theta_x, theta_y = phi, theta
      return theta_x, theta_y
  
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 1 for calling a global function with example usage: angles_from_vec(vec) and returns: theta_x,  theta_y