I came across this useful library however, I noticed some unexpected behaviour when I applied the examples to my images. Unfortunately, in the example below, it seems that not only is the image being rotated it is also being scaled down. It also seems the bounding box doesn't get scaled-down alongside the image.
The problem seems to be particularly prevalent with rotations.
I came across this useful library however, I noticed some unexpected behaviour when I applied the examples to my images. Unfortunately, in the example below, it seems that not only is the image being rotated it is also being scaled down. It also seems the bounding box doesn't get scaled-down alongside the image.
The problem seems to be particularly prevalent with rotations.
Here is the code for generating both images:
Here are the images: Imgur
Wondering if one of the authors could offer some explanation (intended effect or bug and why) and/ or a function to modify to fix this.