In fact, for non-maximum suppression, you do not need an estimate associated with each bounding box. You can use the well-known NMS method for Viola and Jones (an extended cascade of simple functions):
- group all bounding fields that overlap with each other more than 0.5
- for each cluster, it calculates the middle bounding box and displays it (this calculates the midpoint between all the upper right corners and all lower right corners).
And you have no maximum suppression.
If you still want to use other routines that require an evaluation of the output, then simply assign the same score to each bounding box.
source share