Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognition

About

Unconstrained handwritten text recognition is a challenging computer vision task. It is traditionally handled by a two-step approach, combining line segmentation followed by text line recognition. For the first time, we propose an end-to-end segmentation-free architecture for the task of handwritten document recognition: the Document Attention Network. In addition to text recognition, the model is trained to label text parts using begin and end tags in an XML-like fashion. This model is made up of an FCN encoder for feature extraction and a stack of transformer decoder layers for a recurrent token-by-token prediction process. It takes whole text documents as input and sequentially outputs characters, as well as logical layout tokens. Contrary to the existing segmentation-based approaches, the model is trained without using any segmentation label. We achieve competitive results on the READ 2016 dataset at page level, as well as double-page level with a CER of 3.43% and 3.70%, respectively. We also provide results for the RIMES 2009 dataset at page level, reaching 4.54% of CER. We provide all source code and pre-trained model weights at https://github.com/FactoDeepLearning/DAN.

Denis Coquenet, Cl\'ement Chatelain, Thierry Paquet• 2022

Related benchmarks

TaskDatasetResultRank
Handwriting RecognitionIAM
CER4.54
32
Handwritten text recognitionREAD 2016 (test)
CER4.1
23
Handwritten text recognitionREAD 2016
CER3.43
6
Handwritten text recognitionRIMES 2009
CER0.0454
5
Handwritten text recognitionRIMES line level (test)
CER2.63
5
Paragraph-level Handwriting RecognitionRIMES 2011 (test)
CER1.82
4
Handwritten Document RecognitionREAD Line level 2016 (test)
CER4.1
4
Handwritten text recognitionMAURDOR C3
CER8.62
4
Handwritten text recognitionMAURDOR-C4
CER (%)8.02
4
Handwritten Document RecognitionREAD Paragraph level 2016 (test)
CER3.22
3
Showing 10 of 15 rows

Other info

Code

Follow for update