How do I merge multiple bounding boxes that overlap into one bigger bounding box?

Hello,
I am trying to detect text from an image (Magic Card) and I managed to create bounding boxes for each of the the candidate characters. However, I would like to merge all overlapping boxes as one larger box for optical character recognition. Is there a way to do this? Below is an image of the bounding boxes I currently have:

回答(3 个)

thank you!now I want to show character major number than the six-day Africa how do you DO! anhthangk29@gmail.com.vn > thanks YOU

提问:

Max
2015-11-15

回答:

2018-5-2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by