code: def draw_box(srcimg, results, class_label):
      label_list = list(
          map(lambda x: x.strip(), open(class_label, "r").readlines())
      )
      for i in range(len(results)):
          color_list = get_color_map_list(len(label_list))
          clsid2color = {}
          classid, conf = int(results[i, 0]), results[i, 1]
          xmin, ymin, xmax, ymax = (
              int(results[i, 2]),
              int(results[i, 3]),
              int(results[i, 4]),
              int(results[i, 5]),
          )
  
          if classid not in clsid2color:
              clsid2color[classid] = color_list[classid]
          color = tuple(clsid2color[classid])
  
          cv2.rectangle(
              srcimg, (xmin, ymin), (xmax, ymax), color, thickness=2
          )
          print(label_list[classid] + ": " + str(round(conf, 3)))
          cv2.putText(
              srcimg,
              label_list[classid] + ":" + str(round(conf, 3)),
              (xmin, ymin - 10),
              cv2.FONT_HERSHEY_SIMPLEX,
              0.8,
              (0, 255, 0),
              thickness=2,
          )
      return srcimg
  
file_path: PaddleDetection/deploy/third_engine/demo_openvino/python/openvino_infer.py
imports: import cv2
  import numpy
  import argparse
  from scipy.special import softmax
  from openvino.runtime import Core
label_desc: Use image node_id 3 for calling a global function with example usage: draw_box(srcimg, results, class_label) and returns: srcimg