code: def example_visualize_augmented_non_image_data():
      print("Example: Visualize Augmented Non-Image Data")
      import numpy as np
      import imgaug as ia
  
      image = np.zeros((64, 64, 3), dtype=np.uint8)
  
      # points
      kps = [ia.Keypoint(x=10.5, y=20.5), ia.Keypoint(x=60.5, y=60.5)]
      kpsoi = ia.KeypointsOnImage(kps, shape=image.shape)
      image_with_kps = kpsoi.draw_on_image(
          image, size=7, color=(0, 0, 255)
      )
      ia.imshow(image_with_kps)
  
      # bbs
      bbsoi = ia.BoundingBoxesOnImage(
          [ia.BoundingBox(x1=10.5, y1=20.5, x2=50.5, y2=30.5)],
          shape=image.shape,
      )
      image_with_bbs = bbsoi.draw_on_image(image)
      image_with_bbs = ia.BoundingBox(
          x1=50.5, y1=10.5, x2=100.5, y2=16.5
      ).draw_on_image(image_with_bbs, color=(255, 0, 0), size=3)
      ia.imshow(image_with_bbs)
  
      # polygons
      psoi = ia.PolygonsOnImage(
          [ia.Polygon([(10.5, 20.5), (50.5, 30.5), (10.5, 50.5)])],
          shape=image.shape,
      )
      image_with_polys = psoi.draw_on_image(
          image, alpha_points=0, alpha_face=0.5, color_lines=(255, 0, 0)
      )
      ia.imshow(image_with_polys)
  
      # heatmaps
      # pick first result via [0] here, because one image per heatmap channel
      # is generated
      hms = ia.HeatmapsOnImage(
          np.random.random(size=(32, 32, 1)).astype(np.float32),
          shape=image.shape,
      )
      image_with_hms = hms.draw_on_image(image)[0]
      ia.imshow(image_with_hms)
  
file_path: imgaug/checks/check_readme_examples.py
imports: from __future__ import print_function, division
  import functools
label_desc: Use image node_id 12 for calling a global function with example usage: example_visualize_augmented_non_image_data() without return types