code: def get_object(name):
      objects_dir = osp.join(
          Path(__file__).parent.absolute(), "objects"
      )
      if not name.endswith(".pkl"):
          name = name + ".pkl"
      filepath = osp.join(objects_dir, name)
      if not osp.exists(filepath):
          return None
      with open(filepath, "rb") as f:
          obj = pickle.load(f)
      return obj
  
imports: import cv2
  import os
  import os.path
  from pathlib import Path
  import pickle
label_desc: Use image node_id 1 for calling a global function with example usage: get_object(name) and returns: obj, None