Image recognition of numbers
Mostrar comentarios más antiguos
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')
Respuesta aceptada
Más respuestas (1)
Try changing the specified Layout type to 'word'
load image
imshow(TEMP)
ocrOutput = ocr(TEMP, 'TextLayout', 'word', 'characterSet', '0123456789')
1 comentario
Eli
el 9 de Mzo. de 2024
Categorías
Más información sobre Text Analytics Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


