Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The bbox obtained with HorizontalFlip has a pixel difference #1720

Closed
the-return-of-the-return opened this issue May 11, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@the-return-of-the-return

Here is my calculation process:
bboxes = [[0, 0, 100, 100]]
after HorizontalFlip
bboxes_flipped = [[540, 0, 640, 100]]
The height and width of the image are 480, 640, so the correct bbox_flipped should be [[539, 0, 639, 100]], which is a confusing issue for me.

I hope it can be answered. Thanks!

@the-return-of-the-return the-return-of-the-return added the bug Something isn't working label May 11, 2024
@ternaus
Copy link
Collaborator

ternaus commented May 14, 2024

Fixes in #1713

Feel free to update to version 1.4.7, it has already this issue fixed.

@ternaus ternaus closed this as completed May 14, 2024
@the-return-of-the-return
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants