code: def draw_rectangle(img_path, boxes):
      boxes = np.array(boxes)
      img = cv2.imread(img_path)
      img_show = img.copy()
      for box in boxes.astype(int):
          x1, y1, x2, y2 = box
          cv2.rectangle(img_show, (x1, y1), (x2, y2), (255, 0, 0), 2)
      return img_show
  
file_path: PaddleOCR/ppocr/utils/visual.py
imports: import cv2
  import os
  import numpy
  from PIL import Image, ImageDraw, ImageFont
label_desc: Use image node_id 5 for calling a global function with example usage: draw_rectangle(img_path, boxes) and returns: img_show