code: def rotation_dict(self):
      if self.mode == "soft":
          return {
              "bottom": [-30, 0, 0],
              "bottom_left": [-15, -30, 0],
              "bottom_right": [-15, 30, 0],
              "left": [5, -40, 0],
              "right": [5, 40, 0],
          }
      elif self.mode == "hard":
          return {
              "front": [0, 0, 0],
              "bottom": [-30, 0, 0],
              "bottom_left": [-15, -30, 0],
              "bottom_right": [-15, 30, 0],
              "left": [5, -40, 0],
              "right": [5, 40, 0],
          }
      else:
          raise Exception("Unknown mode!")
  
imports: from utils.align2stylegan import align_im2stylegan, align_mesh2stylegan
  from core.projection_handler import Projection_Handler
  from skimage.morphology import remove_small_holes
  import time
  from utils.ganfit_camera import apply_camera_only3d, get_pose
  from utils.utils import *
  from core.arcface_handler import Arcface_Handler
  from utils import generate_heatmap
label_desc: Use image node_id 2 for calling the Face obj's underlying member method code with example usage: obj.rotation_dict() and returns: dict, dict