code: def plot_vertices(image, vertices):
      image = image.copy()
      vertices = np.round(vertices).astype(np.int32)
      for i in range(0, vertices.shape[0], 2):
          st = vertices[i, :2]
          image = cv2.circle(image, (st[0], st[1]), 1, (255, 0, 0), -1)
      return image
  
imports: import cv2
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: plot_vertices(image, vertices) and returns: image