code: def draw_img_polys(self, img, polys):
      if len(img.shape) == 4:
          img = np.squeeze(img, axis=0)
      if img.shape[0] == 3:
          img = img.transpose((1, 2, 0))
          img[:, :, 2] += 123.68
          img[:, :, 1] += 116.78
          img[:, :, 0] += 103.94
      cv2.imwrite("tmp.jpg", img)
      img = cv2.imread("tmp.jpg")
      for box in polys:
          box = box.astype(np.int32).reshape((-1, 1, 2))
          cv2.polylines(
              img, [box], True, color=(255, 255, 0), thickness=2
          )
      import random
  
      ino = random.randint(0, 100)
      cv2.imwrite("tmp_%d.jpg" % ino, img)
      return
  
file_path: PaddleOCR/ppocr/data/imaug/east_process.py
imports: import math
  import cv2
  import numpy
  import json
  import sys
  import os
label_desc: Use image node_id 6 for calling the EASTProcessTrain obj's underlying member method code with example usage: obj.draw_img_polys(img, polys) without return types