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

bbox.pyx line44, ih equation issue #185

Open
wayneguo166 opened this issue Jun 14, 2019 · 0 comments
Open

bbox.pyx line44, ih equation issue #185

wayneguo166 opened this issue Jun 14, 2019 · 0 comments

Comments

@wayneguo166
Copy link

Hi Sergey,
I go through the codes these days and find a issue during calculate the ih in bbox_overlaps function, your code are:
ih = (
min(boxes[n, 3], query_boxes[k, 3]) -
max(boxes[n, 1], query_boxes[k, 1]) + 1
)
but I think it should be:
ih = (
min(boxes[n, 1], query_boxes[k, 1]) -
max(boxes[n, 3], query_boxes[k, 3]) + 1
)
wish your feedback, thanks.
quick link:

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

No branches or pull requests

1 participant