tesstrain icon indicating copy to clipboard operation
tesstrain copied to clipboard

Training for fonts?

Open orsondmc opened this issue 2 years ago • 3 comments

I've seen some outdated docs for training tesseract with specific fonts.

What's the current way of doing this? Pointers would be appreciated :)

orsondmc avatar Apr 24 '22 08:04 orsondmc

You can try the scripts in https://github.com/Shreeshrii/tess5train-fonts

These work for me. Please be prepared to modify the bash scripts as needed.

Shreeshrii avatar Apr 24 '22 12:04 Shreeshrii

If you want to fine tune a model for a specific font using artificial data, the scripts in https://github.com/tesseract-ocr/tesstrain/tree/main/src/training mostly are a drop-in replacement for the old tesstrains.h script.

stefan6419846 avatar May 20 '22 09:05 stefan6419846

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 09:08 stale[bot]