how to increase accuracy image processing for extract decimals

조회 수: 8(최근 30일)
hamze moosapour
hamze moosapour 2021년 12월 1일
답변: hamze moosapour 2021년 12월 4일
] have aan image including decimals number. I use OCR to grabing decimals, but some of point in these number is not extract. Any tips?

채택된 답변

Image Analyst
Image Analyst 2021년 12월 1일
Your decimal point is not well resolved. The ocr() documentation says you should have 20 lines of image data to get a good prediction. Attach your gray scale or binary image if you need more help.

추가 답변(2개)

yanqi liu
yanqi liu 2021년 12월 2일
편집: Image Analyst 2021년 12월 2일
yes,sir,may be make some image process,such as im2bw、imbinary,and use the ocr number parameter,such as
ocr(bwt,'CharacterSet','0123456789');
may be upload image to do some analysis
  댓글 수: 1
Image Analyst
Image Analyst 2021년 12월 2일
Looks like you excluded the decimal point from your character set. I think that would need to be included. That is the character that he wants to find and it's having trouble detecting.

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


hamze moosapour
hamze moosapour 2021년 12월 4일
Thank you so mach for your answers, but I found solution myself. we must resize image to capture points by imresize function.

Community Treasure Hunt

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

Start Hunting!

Translated by