AttentionHTR: Handwritten Text Recognition Based on Attention Encoder-Decoder Networks

Dmitrijs Kass, Ekta Vats
1/23/2022
cs.CVcs.LG

Official code: dmitrijsk/AttentionHTR (65 stars, Python, Apache-2.0, last commit 2024-09-22).

Abstract

This work proposes an attention-based sequence-to-sequence model for handwritten word recognition and explores transfer learning for data-efficient training of HTR systems. To overcome training data scarcity, this work leverages models pre-trained on scene text images as a starting point towards tailoring the handwriting recognition models.

Show full abstract

ResNet feature extraction and bidirectional LSTM-based sequence modeling stages together form an encoder. The prediction stage consists of a decoder and a content-based attention mechanism. The effectiveness of the proposed end-to-end HTR system has been empirically evaluated on a novel multi-writer dataset Imgur5K and the IAM dataset. The experimental results evaluate the performance of the HTR framework, further supported by an in-depth analysis of the error cases. Source code and pre-trained models are available at https://github.com/dmitrijsk/AttentionHTR.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Attention-based sequence-to-sequence model for handwritten word recognition

6513PythonJan 20, 20222 years agoApache-2.0

Similar Papers

Cite this paper

@article{kass2022attentionhtr,
  title  = {AttentionHTR: Handwritten Text Recognition Based on Attention Encoder-Decoder Networks},
  author = {Dmitrijs Kass and Ekta Vats},
  year   = {2022},
  eprint = {2201.09390},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.09390}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.09390.svg)](https://codeofpaper.com/paper/2201.09390)

Discussion