OCR code for complex Background

hello , i have done OCR code for simple background image. It can detect all small ,capital and number for simple image only. I want source code in matlab for complex background and for all fonts please help Me out please.

답변 (1개)

Kayemba Luwaga
Kayemba Luwaga 2023년 8월 19일

0 개 추천

You can try this,
im = imread(listing(i).name);
% imshow(im)
I = imadjust(im,[.1 .1 .1; 1 1 1],[]);
% Crop image, specifying crop rectangle.
I2 = imcrop(I,[105 108 880 1252]);
% OCR
ocrResults = ocr(I2);
recognizedText = ocrResults.Text;
% d = winopen('exampleTemplate.docx');
append(d, recognizedText);
append(d, PageBreak());

댓글 수: 1

John D'Errico
John D'Errico 2023년 8월 19일
Note this question was asked over 10 years ago. So if the asker was at all urgently interested in a soution (which it seems they might have been), then this answer may be slightly too late to be useful. :-)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

msp
2013년 4월 15일

댓글:

2023년 8월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by