End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Network

Denis Coquenet, Clément Chatelain, Thierry Paquet
12/7/2020
cs.CV

Official code: FactoDeepLearning/VAN (10 stars, Python, last commit 2025-06-13).

Abstract

Unconstrained handwritten text recognition remains challenging for computer vision systems. Paragraph text recognition is traditionally achieved by two models: the first one for line segmentation and the second one for text line recognition.

Show full abstract

We propose a unified end-to-end model using hybrid attention to tackle this task. This model is designed to iteratively process a paragraph image line by line. It can be split into three modules. An encoder generates feature maps from the whole paragraph image. Then, an attention module recurrently generates a vertical weighted mask enabling to focus on the current text line features. This way, it performs a kind of implicit line segmentation. For each text line features, a decoder module recognizes the character sequence associated, leading to the recognition of a whole paragraph. We achieve state-of-the-art character error rate at paragraph level on three popular datasets: 1.91% for RIMES, 4.45% for IAM and 3.59% for READ 2016. Our code and trained model weights are available at https://github.com/FactoDeepLearning/VerticalAttentionOCR.

View on arXivView PDF

Code Implementations(1)

101PythonOct 21, 20201 years agoNOASSERTION

Similar Papers

Cite this paper

@article{coquenet2020endtoend,
  title  = {End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Network},
  author = {Denis Coquenet and Clément Chatelain and Thierry Paquet},
  year   = {2020},
  eprint = {2012.03868},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.03868}
}

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/2012.03868.svg)](https://codeofpaper.com/paper/2012.03868)

Discussion