code: def convert_eyes(self, eye_verts3d, eye_verts2d, R_t, tforms):
      meta = {"flip": False}
      eye_verts3d = eye_verts3d.cpu().numpy().reshape(-1, 481 * 2, 3)[0]
      eye_verts2d = self.convert_2d(eye_verts2d, tforms, meta)[0]
      el_inv = eye_verts3d[:481, :]
      er_inv = eye_verts3d[481:, :]
      v_el = eye_verts2d[:481, :]
      v_er = eye_verts2d[481:, :]
      vector_norm = 0.035
      # gaze vector of left eye in world space
      gl_vector = el_inv[self.iris_idx_481].mean(axis=0) - el_inv[-1]
      gl_vector = (gl_vector / np.linalg.norm(gl_vector)) * vector_norm
      gl_point = el_inv[self.iris_idx_481].mean(axis=0) + gl_vector
      # gaze vector of right eye in world space
      gr_vector = er_inv[self.iris_idx_481].mean(axis=0) - er_inv[-1]
      gr_vector = (gr_vector / np.linalg.norm(gr_vector)) * vector_norm
      gr_point = er_inv[self.iris_idx_481].mean(axis=0) + gr_vector
      g_el = self.project_shape_in_image(gl_point[None, :], R_t)
      g_er = self.project_shape_in_image(gr_point[None, :], R_t)
      g_el = g_el[:, :3].copy()
      g_el[:, 1] = self.raw_height - g_el[:, 1]
      g_er = g_er[:, :3].copy()
      g_er[:, 1] = self.raw_height - g_er[:, 1]
      pt1_l = (
          v_el[self.iris_idx_481][:, [0, 1]]
          .mean(axis=0)
          .astype(np.int32)
      )
      pt2_l = g_el[0, [0, 1]].astype(np.int32)
      pt1_r = (
          v_er[self.iris_idx_481][:, [0, 1]]
          .mean(axis=0)
          .astype(np.int32)
      )
      pt2_r = g_er[0, [0, 1]].astype(np.int32)
      return eye_verts3d, eye_verts2d, (pt1_l, pt2_l), (pt1_r, pt2_r)
  
imports: import os
  import time
  import timm
  import glob
  import numpy
  import os.path
  import cv2
  import torch
  import torch.distributed
  from torch import nn
  from pathlib import Path
  from backbones import get_network
  from skimage import transform
  from scipy.spatial.transform import Rotation
label_desc: Use image node_id 7 for calling the JMLRInference obj's underlying member method code with example usage: obj.convert_eyes(eye_verts3d, eye_verts2d, R_t, tforms) and returns: eye_verts3d,  eye_verts2d,  pt1_l,  pt2_l,  pt1_r,  pt2_r