6.2% character error rate (CER) on IAM-OnDB independent writer handwriting task 2.
Alongside with the code, we provide:
- Pretrained weighs for the current iteration of model
- 100k lexicon from wikitionary or 10k lexicon from google 1b corpus
- A heavily pruned 5-gram character level language model trained on a subset of google 1b corpus.
- Example data from IAM Online database.
Prediction would be slightly worse than the above result due to the pruned language model, but should work okay. Download the data directly from IAM official website shown above if neccessary.
Create a virtual environment.
Install dependencies
pip install -r requirements.txt
pip install -e .
Demo shows some jupyter notebook examples. Writingpad.py runs the writing pad application.
python writingpad.py