recognize the text in image
古いコメントを表示
In this image, I have to describe the texts in the red box.
I need to write a code to recognize the text present in the list of Recipe Flows highlighted in red.
how can i do this ?

回答 (1 件)
Image Analyst
2020 年 12 月 31 日
0 投票
Crop out that rectangle from the image, then call ocr() which is a function in the Computer Vision Toolbox.
7 件のコメント
Erva Kabil
2020 年 12 月 31 日
Erva Kabil
2020 年 12 月 31 日
Image Analyst
2020 年 12 月 31 日
OK, then start writing your own OCR program.
Erva Kabil
2020 年 12 月 31 日
Image Analyst
2020 年 12 月 31 日
OK, that's fine. There are lots of functions in the Computer Vision Toolbox and the Image Processing Toolbox. Feel free to use whatever functions you will allow yourself to use, and don't use functions that you don't allow yourself to use (like imcrop() and ocr()). Nearly all the code I write uses the toolbox functions. So, what is your plan for doing ocr without using the toolbox? Like maybe do a manual correlation with a set of predefined templates of all possible letters? Well anyway, good luck.
Erva Kabil
2020 年 12 月 31 日
Image Analyst
2020 年 12 月 31 日
OK, so you're not going to use correlation, either by writing it yourself or by using normxcorr2 (like my attached demo, but that uses normxcorr2 which is a built-in function anyway). And you're not going to use ocr() or certain other toolbox functions. So what is your plan? By the way, don't feel you need to explain it to me if you already know what you're going to do. You only need to reply if the code you wrote didn't work correctly or threw an error, in which case you'd need to attach your code of course.
カテゴリ
ヘルプ センター および File Exchange で Text, Barcode, and Fiducial Marker Detection and Recognition についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!