code: def linear_interpolate(landmarks, start_idx, stop_idx):
      start_landmarks = landmarks[start_idx]
      stop_landmarks = landmarks[stop_idx]
      delta = stop_landmarks - start_landmarks
      for idx in range(1, stop_idx - start_idx):
          landmarks[start_idx + idx] = (
              start_landmarks
              + idx / float(stop_idx - start_idx) * delta
          )
      return landmarks
  
file_path: espnet/egs2/lrs3/avsr1/local/face_alignment.py
imports: import os
  import cv2
  import numpy
  from skimage import transform
  from transforms import *
label_desc: Use image node_id 1 for calling a global function with example usage: linear_interpolate(landmarks, start_idx, stop_idx) and returns: landmarks