Closed medmabcf closed 3 weeks ago
Thanks, will look at this ASAP.
Do you have an example of the code that I could run to reproduce the behavior?
I.e. =
Image + bbox coordinates and keypoint coordinates before and expected result?
This is a link to a colab notebook
Should be fixed in https://github.com/albumentations-team/albumentations/pull/1823
Could you please try use int(x), int(y)
before passing in your notebook?
Describe the bug
When applying a rotation of π to an image, the positions of the keypoints slightly shift.
To Reproduce
Expected behavior
The original image is on the left.![expected](https://github.com/albumentations-team/albumentations/assets/98539210/6cad15b6-fa38-4e92-82df-fd70b544ed76)
Actual behavior
The original image is on the left.![current](https://github.com/albumentations-team/albumentations/assets/98539210/f50a7bd6-f2cb-4f7d-9c75-f1676ef71aff)