Identify the legend box in any image

I need to process images that are input by the user. Sometimes the user may provide an image which has legend bar (as shown in the example). I need to recognize and locate these small boxes. How can i do that?
pic.png
After binarization:
pic.jpg
I need to identify this box at the bottom and locate its cordinates.

Answers (0)

Categories

Products

Asked:

on 4 Feb 2019

Community Treasure Hunt

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

Start Hunting!