by 0x454447415244

Handwriting Recognition System based on a deep Convolutional Recurrent Neural Network architecture

232 Stars 83 Forks Last release: Not found Other 31 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Handwriting Recognition System

This repository is the Tensorflow implementation of the Handwriting Recognition System described in Handwriting Recognition of Historical Documents with Few Labeled Data. Please cite the paper if you use this code in your research paper.

This code is free for academic and research use. For commercial use of the code please contact Edgard Chammas.

To help run the system, sample images from ICDAR2017 Competition on Handwritten Text Recognition on the READ Dataset are added.


General configuration can be found in config.py

CNN-specific architecture configuration can be found in cnn.py


python train.py

This will generate a text log file and a Tensorflow summary.


python test.py

This will generate, for each image, the line transcription. The output will be written to decoded.txt by default.

python compute_probs.py

This will generate, for each image, the posterior probabilities at each timestep. Files will be stored in Probs by default.


  • Tensorflow
  • OpenCV-Python


Please cite the following paper if you use this code in your research paper:

  title={Handwriting Recognition of Historical Documents with few labeled data},
  author={Chammas, Edgard and Mokbel, Chafic and Likforman-Sulem, Laurence},
  booktitle={2018 13th IAPR International Workshop on Document Analysis Systems (DAS)},


We gratefully acknowledge the support of NVIDIA Corporation with the donation of the Titan Xp GPU used for this research.


Feel free to send your pull request or open issues.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.