code: def create_align_syn(
      self, face, trg_angle=[0, 0, 0], include_mask=None
  ):
      im, projected_mesh, mask = self.create_syn(
          face, trg_angle, include_mask
      )
      imgs, masks, transformation_params = align_im2stylegan(
          im_menpo2PIL(im),  # im_menpo2PIL(mask),
          im_menpo2PIL(self.extend_mask(im, mask)),
          projected_mesh[self.lms_ind][:, ::-1],
      )
      aligned_meshes = align_mesh2stylegan(
          projected_mesh, transformation_params
      )
      landmarks = aligned_meshes[self.lms_ind]
      landmarks[:, 1] = 1 - landmarks[:, 1]
  
      heatmaps = generate_heatmap.generate_heatmaps(
          width=self.args.model_res,
          height=self.args.model_res,
          points=landmarks * self.args.model_res,
          sigma=25,
      )
  
      landmarks = landmarks[:, ::-1]
      aligned_meshes = aligned_meshes[self.mask]
  
      return imgs, masks, heatmaps, aligned_meshes
  
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 7 for calling the Operator obj's underlying member method code with example usage: obj.create_align_syn(face, trg_angle, include_mask) and returns: imgs,  masks,  heatmaps,  aligned_meshes