how to increase accuracy image processing for extract decimals

8 views (last 30 days)
] have aan image including decimals number. I use OCR to grabing decimals, but some of point in these number is not extract. Any tips?

Accepted Answer

Image Analyst
Image Analyst on 1 Dec 2021
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.

More Answers (2)

yanqi liu
yanqi liu on 2 Dec 2021
Edited: Image Analyst on 2 Dec 2021
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 Comment
Image Analyst
Image Analyst on 2 Dec 2021
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.

Sign in to comment.


hamze moosapour
hamze moosapour on 4 Dec 2021
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