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 件)

Leonard Yeo
Leonard Yeo 2015 年 11 月 15 日

0 投票

1 件のコメント

Max
Max 2015 年 11 月 17 日
This doesn't quite help. I actually already know which boxes overlap but have not figured out exactly a way to connect the individual boxes.

サインインしてコメントする。

thang anh
thang anh 2018 年 5 月 2 日

0 投票

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