You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keypoints should roll across the borders together with the image, but instead it just goes out of the image boundaries.
Minimal example where keypoints get out of boundaries of the image, while they should warp around:
importimgaug.augmentersasiaaimportimgaugasia# Define the keypointskeypoints_on_images= [ia.KeypointsOnImage([
ia.Keypoint(x=80, y=60)],
shape=(100, 100, 3))]
# Define the augmenteraug=iaa.Affine(translate_px={"x": 40}, mode="wrap")
# Apply the augmentationimages_aug, keypoints_aug=aug(images=[image], keypoints=keypoints_on_images)
print(keypoints_aug)
>>>'[KeypointsOnImage([Keypoint(x=130.00000000, y=60.00000000)], shape=(100, 100, 3))]'# keypoint is out of the image boundaries, it should be at x:30, y:60 instead
Same problem appears for all CBAs
The text was updated successfully, but these errors were encountered:
Keypoints should roll across the borders together with the image, but instead it just goes out of the image boundaries.
Minimal example where keypoints get out of boundaries of the image, while they should warp around:
Same problem appears for all CBAs
The text was updated successfully, but these errors were encountered: