facebookresearch / facebookresearch/AugLy
Fix for rotating bounding box
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 312
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug
## To Reproduce
Steps to reproduce the behavior:
1. When I tried to visualize the bounding box after rotation (90 degree), it seems not aligned with the original bounded area.
2. We can not get the original bbox when with apply a 90 degree rotation first and then apply a -90 degree rotation operation. (But the image looks good) - - We can also try the 360 degree rotation, and the bbox is changed. Ideally if we perform 360 degree rotation, the image and bbox should be identical to the original status.
3. The test case is at https://github.com/LeoLee7/AugLy/blob/main/augly/tests/image_tests/issue_of_bbox_rotation_AugLy_image.ipynb
Contributor guide
Assessment
This issue has not been assessed yet.