How to get the both uncontiguous objects in an image as just an object
이전 댓글 표시
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
Image Analyst
2018년 12월 20일
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
2018년 12월 23일
Image Analyst
2018년 12월 23일
Why are you doing edge detection and dilation??? That certainly doesn't make it easier to separate the characters. Don't do that!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




