Why am I unable to read readings of an Image using ocr?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am unable to read numbers from any image like this. First I used the code:
i=imread('speed.jpg');
i= imresize(i, 1.4);
f= ocr(i,'CharacterSet','.0123456789');
recognizedText = f.Words;

the output i get is:
' '
' 1 . 5 '
'91 11 915 021 '
' 011 '
'106 9059'
Then I tried using a better code by binarizing, dilating, and using regionprops for a better solution. This time, I don't get the output at all. The above code works perfectly for other images with numbers in linear fashion. Please help.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!