class_docstr: InferenceEngine
  
  Inference engina class which contains preprocess, run, postprocess
class_docstr_tok: ["InferenceEngine","Inference","engina","class","which","contains","preprocess",",","run",",","postprocess"]
docstr: run
  Inference process using inference engine.
  Args:
      x: Input data after preprocess.
  Returns: Inference engine output
docstr_tok: ["run","Inference","process","using","inference","engine",".","Args",":","x",":","Input","data","after","preprocess",".","Returns",":","Inference","engine","output"]
code: def run(self, x):
      """run
      Inference process using inference engine.
      Args:
          x: Input data after preprocess.
      Returns: Inference engine output
      """
      self.input_tensor.copy_from_cpu(x)
      self.predictor.run()
      output = self.output_tensor.copy_to_cpu()
      return output
  
imports: import os
  import sys
  import pathlib
  import cv2
  import paddle
  from paddle import inference
  import numpy
  from PIL import Image
  from paddle.vision import transforms
  from tools.predict import resize_image
  from post_processing import get_post_processing
  from utils.util import draw_bbox, save_result
label_desc: Use image node_id 5 for calling the InferenceEngine obj's underlying member method code with example usage: obj.run(x) and returns: output