code: def get_image():
      path = os.path.dirname(__file__)
      file = "static/image.jpg"
      return read_image(os.path.join(path, file))
  
file_path: detecto/detecto/tests/helpers.py
imports: import os
  import torch
  from detecto.core import Model, Dataset
  from detecto.utils import xml_to_csv, read_image
label_desc: Use image node_id 2 for calling a global function with example usage: get_image() and returns: read_image