code: def example_augment_images_and_keypoints():
      print("Example: Augment Images and Keypoints")
      import numpy as np
      import imgaug.augmenters as iaa
  
      images = np.zeros(
          (2, 128, 128, 3), dtype=np.uint8
      )  # two example images
      images[:, 64, 64, :] = 255
      points = [
          [(10.5, 20.5)],  # points on first image
          [
              (50.5, 50.5),
              (60.5, 60.5),
              (70.5, 70.5),
          ],  # points on second image
      ]
  
      seq = iaa.Sequential(
          [
              iaa.AdditiveGaussianNoise(scale=0.05 * 255),
              iaa.Affine(translate_px={"x": (1, 5)}),
          ]
      )
  
      # augment keypoints and images
      images_aug, points_aug = seq(images=images, keypoints=points)
  
      print(
          "Image 1 center", np.argmax(images_aug[0, 64, 64 : 64 + 6, 0])
      )
      print(
          "Image 2 center", np.argmax(images_aug[1, 64, 64 : 64 + 6, 0])
      )
      print("Points 1", points_aug[0])
      print("Points 2", points_aug[1])
  
file_path: imgaug/checks/check_readme_examples.py
imports: from __future__ import print_function, division
  import functools
label_desc: Use image node_id 5 for calling a global function with example usage: example_augment_images_and_keypoints() without return types