code: def show_results(self, results):
      img_cp = self.img.copy()
  
      class_results_set = set()
      for i in range(len(results)):
          x = int(results[i][1])
          y = int(results[i][2])
          w = int(results[i][3]) // 2
          h = int(results[i][4]) // 2
          class_results_set.add(results[i][0])
          if self.disp_console:
              print(
                  "    class : "
                  + results[i][0]
                  + " , [x,y,w,h]=["
                  + str(x)
                  + ","
                  + str(y)
                  + ","
                  + str(int(results[i][3]))
                  + ","
                  + str(int(results[i][4]))
                  + "], Confidence = "
                  + str(results[i][5])
              )
  
          # draw bbox
          if self.fromstream:
              cv2.rectangle(
                  img_cp, (x - w, y - h), (x + w, y + h), (0, 255, 0), 2
              )
              cv2.rectangle(
                  img_cp,
                  (x - w, y - h - 20),
                  (x + w, y - h),
                  (125, 125, 125),
                  -1,
              )
  
              # modify showing text
              cv2.putText(
                  img_cp,
                  results[i][0],  #  + ' : %.2f' % results[i][5]
                  (x - w + 5, y - h - 7),
                  cv2.FONT_HERSHEY_SIMPLEX,
                  0.5,
                  (0, 0, 0),
                  1,
              )
  
      return img_cp
  
file_path: AdvBox/applications/StealthTshirt/StealthTshirtDemo.py
imports: import numpy
  import tensorflow
  import cv2
  import time
  import sys
  import os
  import pdb
label_desc: Use image node_id 9 for calling the Faster_YOLO obj's underlying member method code with example usage: obj.show_results(results) and returns: img_cp