code: def predict(self, game_frame, **kwargs):
      image = game_frame.to_pil()
  
      before = time.time()
      objects = self.model.predict_image(image)
      after = time.time()
  
      return objects, after - before
  
imports: import os
  import yaml
  import json
  import subprocess
  import shlex
  import time
  import tensorflow
  from luminoth.tools.dataset.readers.object_detection import ObjectDetectionReader
  from luminoth.tools.dataset.writers.object_detection_writer import ObjectDetectionWriter
  from luminoth.tools.checkpoint import get_checkpoint_config
  from luminoth.utils.dataset import read_xml, read_image
  from luminoth.utils.config import get_config
  from luminoth.utils.predicting import PredictorNetwork
  from luminoth.train import run
  from luminoth.predict import predict_image
  from serpent.machine_learning.object_recognition.object_recognizer import ObjectRecognizer
  from serpent.utilities import SerpentError
label_desc: Use image node_id 3 for calling the LuminothObjectRecognizer obj's underlying member method code with example usage: obj.predict(game_frame) and returns: objects,  unknown