# LineCounter: Learning Handwritten Text Line Segmentation by Counting

arXiv: https://arxiv.org/abs/2105.11307 · HTML: https://mlsanity.com/paper/2105.11307/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 7 of its 23 references that are in the map.
- First posted on arXiv 24 May 2021.

## Builds on (most cited first, 7 of 7)

- [Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation](https://mlsanity.com/paper/1406.1078/) (2014)
- [Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising](https://mlsanity.com/paper/1608.03981/) (2016)
- [Text Line Segmentation for Challenging Handwritten Document Images Using Fully Convolutional Network](https://mlsanity.com/paper/2101.08299/) (2021)
- [Labeling, Cutting, Grouping: an Efficient Text Line Segmentation Method for Medieval Manuscripts](https://mlsanity.com/paper/1906.11894/) (2019)
- [SauvolaNet: Learning Adaptive Sauvola Network for Degraded Document Binarization](https://mlsanity.com/paper/2105.05521/) (2021)
- [A Novel Integrated Framework for Learning both Text Detection and Recognition](https://mlsanity.com/paper/1811.08611/) (2018)
- [Unsupervised deep learning for text line segmentation](https://mlsanity.com/paper/2003.08632/) (2020)

## Abstract (arXiv)

Handwritten Text Line Segmentation (HTLS) is a low-level but important task for many higher-level document processing tasks like handwritten text recognition. It is often formulated in terms of semantic segmentation or object detection in deep learning. However, both formulations have serious shortcomings. The former requires heavy post-processing of splitting/merging adjacent segments, while the latter may fail on dense or curved texts. In this paper, we propose a novel Line Counting formulation for HTLS -- that involves counting the number of text lines from the top at every pixel location. This formulation helps learn an end-to-end HTLS solution that directly predicts per-pixel line number for a given document image. Furthermore, we propose a deep neural network (DNN) model LineCounter to perform HTLS through the Line Counting formulation. Our extensive experiments on the three public datasets (ICDAR2013-HSC, HIT-MW, and VML-AHTE) demonstrate that LineCounter outperforms state-of-the-art HTLS approaches. Source code is available at https://github.com/Leedeng/Line-Counter.
