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.