Skip to content

Shouldn't have a +1 in the NMS implementation for the boxes width/height computation ? #1872

Closed
@viniciusarruda

Description

@viniciusarruda

The standard is to have a bounding box defined as quoted here.

But in the NMS source code, there is no +1 when computing the areas and intersection values. This also leaves a bug in the case of getting union = 0, raising a NaN error when computing the iou.

If the code is correct, what am I missing ? Shouldn't the documentation explain this better ?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions