How can I extract number/letter part from this binary image ?

2 views (last 30 days)
I tried erosion/dilation process but I failed :/
  2 Comments
Baptiste Ottino
Baptiste Ottino on 14 Aug 2017
Edited: Baptiste Ottino on 14 Aug 2017
Do you want to extract it as a string? It is a difficult task, and you want to take a look at the Tools in the following toolboxes:
  1. Statistics and Machine Learning Toolbox
  2. Neural Network Toolbox
I doubt someone will post exactly how to do it, because it is a small project in itself. Have fun!
Jahidul Islam Munna
Jahidul Islam Munna on 14 Aug 2017
Thanks for your comment.
No, I don't need to extract it as a string, I only need to show the letters/numbers portion of this binary image.
And I don't have any Neural Network or Machine Learning Knowledge. I wanted to do this using only image processing technique. I've applied erosion/dilation process but It didn't work well :/

Sign in to comment.

Answers (2)

Gareth Thomas
Gareth Thomas on 14 Aug 2017
Have you tried OCR? Optical Character Recognition.
This comes with the Computer Vision System Toolbox.
  1 Comment
Jahidul Islam Munna
Jahidul Islam Munna on 14 Aug 2017
Thanks for your valuable comment.
But I don't need to recognize the characters. All I want to remove all objects/components except letter/number portion of this binary image.

Sign in to comment.


mizuki
mizuki on 15 Aug 2017
This example would help - this is part of OCR example, but what it does first (- Step 4) is extracting the area of letters by removing other areas.

Categories

Find more on Recognition, Object Detection, and Semantic Segmentation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!