Image recognition of numbers
이전 댓글 표시
Hello
I'm taking a photo of some images and trying to recognize automatically what number i have.
Attaching an example where i coudn't recognize the image even though it's easy to see with the eye.
both str2double(ocrOutput.Text) and ocrOutput.WordConfidences
Are empty.
Any idea how to settle this?
ocrOutput = ocr(TEMP, 'TextLayout', 'Line', 'characterSet', '0123456789')
채택된 답변
추가 답변 (1개)
Try changing the specified Layout type to 'word'
load image
imshow(TEMP)
ocrOutput = ocr(TEMP, 'TextLayout', 'word', 'characterSet', '0123456789')
카테고리
도움말 센터 및 File Exchange에서 Text Analytics Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


