How to get the both uncontiguous objects in an image as just an object
Show older comments
i want to loop a word in image, so that i can take every character in that image. but if i use the third dimension of bwlabel as my limit loop, the character like "i" will assume as 2 characters. because it has 2 uncontiguous object in that image. i think i have found how to get all characters of "Nick" by cropped those character automatically. but i confuse how to loop it so i can take every character and compare them with my training data.
Thanks before.
3 Comments
Image Analyst
on 20 Dec 2018
You forgot to post your image and code. Please do so after reading this link
You might want to use ocr() in the Computer Vision System Toolbox instead of doing it low level like you are. Or use deep learning.
Bachtiar Muhammad Lubis
on 23 Dec 2018
Image Analyst
on 23 Dec 2018
Why are you doing edge detection and dilation??? That certainly doesn't make it easier to separate the characters. Don't do that!
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!



