code: def may_augment_poly(self, aug, img_shape, poly):
      keypoints = [imgaug.Keypoint(p[0], p[1]) for p in poly]
      keypoints = aug.augment_keypoints(
          [imgaug.KeypointsOnImage(keypoints, shape=img_shape)]
      )[0].keypoints
      poly = [(p.x, p.y) for p in keypoints]
      return poly
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/data_loader/modules/iaa_augment.py
imports: import numpy
  import imgaug
  import imgaug.augmenters
label_desc: Use image node_id 4 for calling the IaaAugment obj's underlying member method code with example usage: obj.may_augment_poly(aug, img_shape, poly) and returns: poly