code: def draw_boxes(image, boxes, color, thickness=2):
      """Draws boxes on an image with a given color.
  
      # Arguments
          image     : The image to draw on.
          boxes     : A [N, 4] matrix (x1, y1, x2, y2).
          color     : The color of the boxes.
          thickness : The thickness of the lines to draw boxes with.
      """
      for b in boxes:
          draw_box(image, b, color, thickness=thickness)
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/utils/visualization.py
imports: import cv2
  import numpy
  from .colors import label_color
label_desc: Use image node_id 3 for calling a global function with example usage: draw_boxes(image, boxes, color, thickness) without return types