code: def get_stable_reference(
      self, reference, stable_points, reference_size, target_size
  ):
      stable_reference = np.vstack(
          [reference[x] for x in stable_points]
      )
      stable_reference[:, 0] -= (
          reference_size[0] - target_size[0]
      ) / 2.0
      stable_reference[:, 1] -= (
          reference_size[1] - target_size[1]
      ) / 2.0
      return stable_reference
  
file_path: audio/examples/avsr/data_prep/detectors/retinaface/video_process.py
imports: import cv2
  import numpy
  from skimage import transform
label_desc: Use image node_id 6 for calling the VideoProcess obj's underlying member method code with example usage: obj.get_stable_reference(reference, stable_points, reference_size, target_size) and returns: stable_reference