Use of Matlab's OCR to recognize Math Equation

조회 수: 23 (최근 30일)
Wifraim Neil San Miguel
Wifraim Neil San Miguel 2021년 1월 16일
답변: Shashank Gupta 2021년 1월 24일
I'm trying to use Matlab's ocr to recognize math equations but the result was some unknown characters.
This is my input:
and the output was:
How can I improve or solve this problem? I just followed the code on the ocr documentaions and use the 'MathEquation' Language
here is the code:
x = imread('1.png');
results = ocr(x,'Language', 'MathEquation')
recognized = results.Text;
figure;
imshow(x);
text(600,150, recognized,'BackgroundColor', [1 1 1]);

답변 (1개)

Shashank Gupta
Shashank Gupta 2021년 1월 24일
Hi,
OCR detection MATLAB uses is actually tesseract implementation and Math Equation as mentioned in tesseract official page is mostly an experimental detector, It emphasize more on detecting the equation rather than recognition. But there are some work around, Try combining multiple detector like English + Math detector and see if you get meaningful texts.
I hope I gave you enough information to look around and explore.
Cheers.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by