code: def crop_patch(self, video, landmarks):
      sequence = []
      for frame_idx, frame in enumerate(video):
          (
              transformed_frame,
              transformed_landmarks,
          ) = self.affine_transform(
              frame, landmarks[frame_idx], self.reference
          )
          patch = cut_patch(
              transformed_frame,
              transformed_landmarks[self.start_idx : self.stop_idx],
              self.crop_height // 2,
              self.crop_width // 2,
          )
          if self.resize:
              patch = cv2.resize(patch, self.resize)
          sequence.append(patch)
      return np.array(sequence)
  
file_path: audio/examples/avsr/data_prep/detectors/mediapipe/video_process.py
imports: import cv2
  import numpy
  from skimage import transform
label_desc: Use image node_id 3 for calling the VideoProcess obj's underlying member method code with example usage: obj.crop_patch(video, landmarks) and returns: np