Tesseract handwriting with dictionary training

2020-02-03 06:21发布

问题:

I have a dictionary of words in a text file, separated by newlines. And I want to recognize the handwriting using Tesseract, and output the nearest matching line in the text file.

This is the first time I'll be using Tesseract, and it's already in my project workspace, I just need the training data.

Is it possible to train Tesseract to do this?

回答1:

It's possible to train tesseract to recognize handwriting. Here are the instructions: https://github.com/tesseract-ocr/tesseract/wiki/Training-Tesseract

But don't expect very good results. Academics have typically gotten accuracy results topping out about 90%. Here are a couple references for words and numbers. So if your use case can deal with at least 1/10 errors, this might work for you.