EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

failed to recognize decimal point

Open HGGshiwo opened this issue 2 years ago • 1 comments

I find the model only recognize the digital number, but ignore the decimal point. Can anyone help, please?

HGGshiwo avatar Jul 10 '23 11:07 HGGshiwo

Working on this: Image

Anyway if out of the box is not working you could try configuration which can help bring out the decimal. Like:

# result = reader.readtext('decimal.png',
#                         min_size = 5, --> lesser than default 
#                         filter_ths = 0.001, --> allow lower conf
#                         adjust_contrast = 0.7, --> high contrast helps bring out the decimal
#                         text_threshold = 0.3, --> allow lower text thresh
#                         low_text = 0.3, --> lesser than default
#                         link_threshold = 0.3,  --> allow decimal to be detected in the connected text regions
#                         bbox_min_size = 2,
# )

If you can attach the image, I'll try

brownsloth avatar Jun 21 '25 13:06 brownsloth