code: def process_images(images, image_processor, model_cfg):
      return image_processor(images, return_tensors="pt")[
          "pixel_values"
      ]
  
file_path: ml-ferret/ferret/mm_utils.py
imports: from PIL import Image
  from io import BytesIO
  import base64
  import torch
  from transformers import StoppingCriteria
  from ferret.constants import IMAGE_TOKEN_INDEX
label_desc: Use image node_id 2 for calling a global function with example usage: process_images(images, image_processor, model_cfg) and returns: image_processor