Image recognition of numbers
Afficher commentaires plus anciens
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')
Réponse acceptée
Plus de réponses (1)
Try changing the specified Layout type to 'word'
load image
imshow(TEMP)
ocrOutput = ocr(TEMP, 'TextLayout', 'word', 'characterSet', '0123456789')
1 commentaire
Eli
le 9 Mar 2024
Catégories
En savoir plus sur Text Analytics Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


