How to extract the text from images without using OCR. will you plz help me. in matlab 13 version

19 ビュー (過去 30 日間)
techbuzz
techbuzz 2017 年 1 月 14 日
編集済み: DGM 2023 年 11 月 3 日

回答 (3 件)

Mike Shives
Mike Shives 2023 年 11 月 3 日
編集済み: DGM 2023 年 11 月 3 日
A workaround is to install tesseract on your PC.
The workflow in Matlab is to print the image you want to run OCR to a .tif (.jpg works too), do a system call to tesseract, then read its output into matlab.
For example:
imwrite(im,'image.tif');
system('tesseract image.tif res');
a = importdata('res.txt');
you may want to use textscan instead of importdata....

Image Analyst
Image Analyst 2017 年 1 月 14 日
  1 件のコメント
Mike Shives
Mike Shives 2023 年 7 月 18 日
That article still requires using the OCR function, and therefore computer vision toolbox.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 1 月 14 日
The topic of recognizing text is known as Optical Character Recognition, often abbreviated to OCR. Any technique that can recognize text in images is an ocr technique. It is not possible to recognize text without using ocr, because anything recognizes text is defined to be ocr.
  4 件のコメント
Image Analyst
Image Analyst 2020 年 8 月 6 日
You're welcome to write your own OCR algorithm. You can start here.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by