필터 지우기
필터 지우기

No OCR results on good Image

조회 수: 1 (최근 30일)
J S
J S 2018년 10월 10일
댓글: J S 2018년 10월 10일
Why doesn't this give me any results??? Can somebody help me out? On other occasions, OCR hasn't given me any trouble at all, but now I'm stuck. The contrast of the image seems fine. Even better after sharpening:
I=imread('/image_file_path');
I=imsharpen(I);
close all
try
for i=1:5
roi= [20,5,30,40]+[54*(i-1),0,0,0];
card=ocr(I,roi,'Language','language_file_path');
card_val{i}=card.Text;
Iocr= insertObjectAnnotation(I, 'rectangle', roi,'');
figure;imshow(Iocr);
%hold on
end
catch
disp('error')
end
  댓글 수: 1
J S
J S 2018년 10월 10일
Tried with default (untrained language), too. No results

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by