Skip to content

Fix for rotating bounding box#249

Description

@LeoLee7

馃悰 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions