How to recognize huge letters using OCR?
2 次查看(过去 30 天)
显示 更早的评论
Hello, everyone,
right now I'm trying to identify rather large letters in a picture. No problem for the human brain, but apparently not so easy for Matlab. A picture is worth a thousand words, so here is one picture (you will find some more attached):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/327104/image.jpeg)
As you can see, the text is actually very easy to recognize. In addition, you can bring in as prior knowledge that no 0 and 8 and no "B, J, O, P, Q" can occur. Otherwise only capital letters are possible. The letters always have the same size.
Maybe the contrast in the picture is not very good, but maybe you know other ways to extract the text from this picture? I also have the impression that the OCR function in Matlab only searches for very small texts. I have not found a way to set a font size for text recognition? My approaches with the ocrTrainer were unfortunately also not successful because the segmentation did not work.
Thanks for any help and best regards!
0 个评论
回答(1 个)
Vimal Rathod
2020-7-7
You could refer to the following link to know more about how to use the OCR function and it also has some pre-processing techniques discussed to read characters properly. You may have to use pre-processing to make sure the algorithm could read text properly.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!