answered Aug 5 '13
I doubt there's something in OpenCV for that, but why don't you do it yourself? It's fairly trivial:
Find overlapping rectangles and for each overlap, select the one with the higher weight.