code: def get_input_features(image, landmarks):
      """Extract features from a face recongnition networks including
      intermadiate activations. This function first align the image and
      then call identity_features()
      """
      image_aligned = align_arcface(image, landmarks)
  
      emb_norm, content, embedding, vars = identity_features(
          image_aligned, "id_features/"
      )
      return emb_norm, vars, image_aligned
  
file_path: insightface/reconstruction/ostec/core/arcface_handler.py
imports: import tensorflow
  import numpy
  from external import arcface50
  from skimage import transform
label_desc: Use image node_id 2 for calling a global function with example usage: get_input_features(image, landmarks) and returns: emb_norm,  vars,  image_aligned