code: def draw_boxes(
      image: np.ndarray, boxes: np.ndarray, color: tuple[int, int, int]
  ) -> np.ndarray:
      """Draw bounding boxes on an image.
  
      Args:
          image (np.ndarray): Source image.
          boxes (np.nparray): 2D array of shape (N, 4) where each row contains the xyxy coordinates of a bounding box.
          color (tuple[int, int, int]): Color of the drawn boxes in RGB format.
  
      Returns:
          np.ndarray: Image showing the bounding boxes drawn on top of the source image.
      """
      for box in boxes:
          x_1, y_1, x_2, y_2 = box.astype(int)
          image = cv2.rectangle(
              image, (x_1, y_1), (x_2, y_2), color=color, thickness=2
          )
      return image
  
file_path: anomalib/src/anomalib/post_processing/post_process.py
imports: from __future__ import annotations
  import math
  from enum import Enum
  import cv2
  import numpy
  from skimage import morphology
label_desc: Use image node_id 7 for calling a global function with example usage: draw_boxes(image, boxes, color) and returns: image