Skip to content

bbox.pyx line44, ih equation issue #185

Open
@wayneguo166

Description

@wayneguo166

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions