필터 지우기
필터 지우기

OCR can not distinguish between zero and two of consolas font.

조회 수: 9 (최근 30일)
ISAAC DOUGHAN
ISAAC DOUGHAN 2020년 8월 9일
답변: Rishik Ramena 2020년 8월 13일
,,,,,,
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
Image Analyst
Image Analyst 2020년 8월 9일
편집: Image Analyst 2020년 8월 9일
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.
ISAAC DOUGHAN
ISAAC DOUGHAN 2020년 8월 9일
Hi, I have attached the two situations to the question in addition to the Data files

댓글을 달려면 로그인하십시오.

답변 (1개)

Rishik Ramena
Rishik Ramena 2020년 8월 13일
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."

카테고리

Help CenterFile Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by