Get Character or word error rate

49 views
Skip to first unread message

Mobeen Ali

unread,
Nov 14, 2019, 9:51:09 AM11/14/19
to tesseract-ocr
Hi everyone!

I was wondering if there is a function or method to get character or word error rate after applying tesseract-ocr on the image?

What i mean is, for example,

when i run the command
  • tesseract  test_image.tiff  output_text
after writing the text in the output_text file, it could return me the word error rate or character error rate of the text...

Quan Nguyen

unread,
Nov 14, 2019, 5:45:07 PM11/14/19
to tesseract-ocr
Use hocr output format. It has confidence values in the output file.

Mobeen Ali

unread,
Nov 17, 2019, 2:20:56 AM11/17/19
to tesseract-ocr
Thanks for your reply @Quan, the x_wconf in titles is the confidence value of the word?

Quan Nguyen

unread,
Nov 17, 2019, 7:19:54 PM11/17/19
to tesseract-ocr
Yes.
Reply all
Reply to author
Forward
0 new messages