code: def draw(self, bbox, det_ind, label):
      if self.d is None:
          self.d = ImageDraw.Draw(self.img)
      x0, y0, x1, y1 = bbox
      color = self.colors[det_ind]
      self.d.rectangle(bbox, outline=color)
      # cv2.rectangle(self.img, (x0, y0), (x1, y1), color, 2)
      text_y0 = y0 - 15 if y0 - 15 > 15 else y0 + 15
      self.d.text((x0, text_y0), label, fill=color)
  
file_path: nnabla/python/src/nnabla/models/object_detection/draw_utils.py
imports: import numpy
label_desc: Use image node_id 2 for calling the _DrawBoundingBoxesPil obj's underlying member method code with example usage: obj.draw(bbox, det_ind, label) without return types