OCR can not distinguish between zero and two of consolas font.
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
,
,
,
,
,
,![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343753/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343717/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343720/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343723/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343738/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343750/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/343753/image.jpeg)
I tried using OCR to train ocr to recognise numbers from 1 to 50
The font is consolas. However zero (0) and two (2) are always conflicting.
zero(0) always reads as 2 and sometimes as forward slash when using them in the matlab.
this is the onedrive link to a copy of data. I have also added the code to it
Please what am i doing wrong?
Best regard,
Isaac
2 comentarios
Image Analyst
el 9 de Ag. de 2020
Editada: Image Analyst
el 9 de Ag. de 2020
Attach an image where the 2 is determined to be a 0 and another image where it's determined to be a /. I mean here, not some third party site.
Respuestas (1)
Rishik Ramena
el 13 de Ag. de 2020
To correctly identify the Zeros, you can change the value of the TextLayout parameter to ‘Block’ as OCR model is just trying to identify numbers which can be considered as a single block of text.
The documentation for OCR TextLayout parameter says: "If you get poor OCR results, try a different layout that matches the text in your image."
0 comentarios
Ver también
Categorías
Más información sobre Computer Vision Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!