code: def draw_bboxes(image, bboxes, org_im_path, output_dir):
      """
      Draw bounding boxes on image.
  
      Args:
          bboxes (np.array): bounding boxes.
      """
      draw = ImageDraw.Draw(image)
      for i in range(len(bboxes)):
          xmin, ymin, xmax, ymax = bboxes[i]
          (left, right, top, bottom) = (xmin, xmax, ymin, ymax)
          draw.line(
              [
                  (left, top),
                  (left, bottom),
                  (right, bottom),
                  (right, top),
                  (left, top),
              ],
              width=4,
              fill="red",
          )
      save_name = get_save_image_name(image, org_im_path, output_dir)
      image.save(save_name)
  
file_path: PaddleHub/modules/image/face_detection/pyramidbox_face_detection/processor.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import time
  import base64
  import cv2
  import numpy
  from PIL import ImageDraw
label_desc: Use image node_id 4 for calling a global function with example usage: draw_bboxes(image, bboxes, org_im_path, output_dir) without return types