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

Adjustment to SSD Bounding Box Size Calculation to Account for Texture Aspect Ratio #357

Merged
merged 2 commits into from
May 9, 2024

Conversation

kaku-panda
Copy link
Contributor

Hello,

I have noticed that the current implementation does not fully accommodate textures where the width is greater than the height, leading to inaccurately scaled bounding boxes for wider textures. This PR proposes a solution to dynamically adjust the scaling based on the texture's aspect ratio, ensuring that bounding boxes are correctly scaled regardless of whether the texture is wider or taller.

This adjustment ensures that the bounding boxes are always scaled appropriately, improving the accuracy of the visual representation of detected objects.

@asus4
Copy link
Owner

asus4 commented May 9, 2024

Thank you @kaku-panda !

@asus4 asus4 merged commit b32c797 into asus4:master May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants