Skip to content

Helper functions for working with keypoints (augmentations.keypoints_utils)

def albumentations.augmentations.keypoints_utils.check_keypoint(kp, rows, cols) [view source on GitHub]

Check if keypoint coordinates are less than image shapes

def albumentations.augmentations.keypoints_utils.check_keypoints(keypoints, rows, cols) [view source on GitHub]

Check if keypoints boundaries are less than image shapes