code: def object_recognition(game_agent_name, model_name):
      model_path = f"plugins/{game_agent_name}Plugin/files/ml_models/object_recognition/{model_name}"
  
      from serpent.machine_learning.object_recognition.object_recognizer import (
          ObjectRecognizer,
      )
  
      object_recognizer = ObjectRecognizer(
          model_name, model_path=model_path
      )
  
      object_recognizer.predict_directory("datasets/collect_frames")
  
imports: import os
  import sys
  import shutil
  import subprocess
  import shlex
  import time
  import offshoot
  from serpent.utilities import clear_terminal, display_serpent_logo, is_linux, is_windows, wait_for_crossbar
  from serpent.window_controller import WindowController
label_desc: Use image node_id 25 for calling a global function with example usage: object_recognition(game_agent_name, model_name) without return types