code: def test_viz_keypoints():
      img = mx.nd.zeros((300, 300, 3), dtype=np.uint8)
      bbox = mx.nd.array([[[10, 20, 200, 500], [150, 200, 400, 300]]])
      scores = mx.nd.array([[0.8, 0.001]])
      labels = mx.nd.array([[1, 3]])
      class_names = ["a", "b", "c"]
  
      coords = np.array(
          [
              [
                  [100, 100],
                  [100, 101],
                  [100, 102],
                  [100, 103],
                  [100, 104],
                  [100, 105],
                  [100, 106],
                  [100, 107],
                  [100, 108],
                  [100, 109],
                  [100, 110],
                  [100, 111],
                  [100, 112],
                  [100, 113],
                  [100, 114],
                  [100, 115],
                  [100, 116],
              ]
          ]
      ).astype("float32")
      confidence = np.array(
          [
              [
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
                  [0.9],
              ]
          ]
      )
  
      class_IDs = mx.nd.array([[[0], [0]]])
      scores = mx.nd.array([[[1], [1]]])
      img_output = gcv.utils.viz.plot_keypoints(
          img, coords, confidence, class_IDs, bbox, scores
      )
      img_output = gcv.utils.viz.cv_plot_keypoints(
          img, coords, confidence, class_IDs, bbox, scores
      )
  
file_path: gluon-cv/tests/unittests/test_utils_viz.py
imports: from __future__ import print_function
  from __future__ import division
  import unittest
  import mxnet
  import numpy
  import gluoncv
label_desc: Use image node_id 3 for calling a global function with example usage: test_viz_keypoints() without return types