EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

chinese text detected not accurate

Open yfq512 opened this issue 3 years ago • 2 comments

Any parameters can I tune to improve accuracy?

yfq512 avatar Feb 10 '22 04:02 yfq512

Chinese word size is too small that accuracy is reduced, How to tune parameters to improve accuracy?

yfq512 avatar Feb 10 '22 08:02 yfq512

Chinese word size is too small that accuracy is reduced, How to tune parameters to improve accuracy?

You can try increasing the image size first with quality, you can use Waifu2x to increase image size without much loss.

if you want to improve the confident level of text (meaning if you only want to print the characters the EasyOCR is confident that they look same) add this parameter text_threshold=0.9 else you could try reducing it in case you're not getting the characters at that position. min=0, max=1 ex = bounds = reader.readtext(img, detail=0,paragraph=True, y_ths=1,canvas_size=8500,text_threshold=0.9)

vsatyamesc avatar Mar 18 '22 10:03 vsatyamesc