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

4 views (last 30 days)
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:

Answers (3)

Nut
Nut on 1 Jul 2016

Leonard Yeo
Leonard Yeo on 15 Nov 2015
  1 Comment
Max
Max on 17 Nov 2015
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.

Sign in to comment.


thang anh
thang anh on 2 May 2018
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

Community Treasure Hunt

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

Start Hunting!