'How can I make the annotation follow the rotation or random crop of the photo in Python?
I want to make datasets of my images for an object detection model. However, I want to try to use random crop and rotating the images to make more datasets but I worry about whether the annotation also can change through the original images's annotation. What I mean is that I just want to change the anotation automatically when I use the function of random crop and rotation.
If you have any idea? please tell me. Thank you
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|