You Actually Look Twice At it (YALTAi): using an object detection approach instead of region segmentation within the Kraken engine

Thibault Clérice
7/19/2022
21 citations
cs.CVcs.AI

Official code: PonteIneptique/YALTAi (42 stars, Python, GPL-3.0, last commit 2026-04-15).

Abstract

Layout Analysis (the identification of zones and their classification) is the first step along line segmentation in Optical Character Recognition and similar tasks. The ability of identifying main body of text from marginal text or running titles makes the difference between extracting the work full text of a digitized book and noisy outputs.

Show full abstract

We show that most segmenters focus on pixel classification and that polygonization of this output has not been used as a target for the latest competition on historical document (ICDAR 2017 and onwards), despite being the focus in the early 2010s. We propose to shift, for efficiency, the task from a pixel classification-based polygonization to an object detection using isothetic rectangles. We compare the output of Kraken and YOLOv5 in terms of segmentation and show that the later severely outperforms the first on small datasets (1110 samples and below). We release two datasets for training and evaluation on historical documents as well as a new package, YALTAi, which injects YOLOv5 in the segmentation pipeline of Kraken 4.1.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

You Actually Look Twice At it

422PythonJul 6, 20227 months agoGPL-3.0

Similar Papers

Cite this paper

@article{clrice2022actually,
  title  = {You Actually Look Twice At it (YALTAi): using an object detection approach instead of region segmentation within the Kraken engine},
  author = {Thibault Clérice},
  year   = {2022},
  eprint = {2207.11230},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11230v2}
}

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

Discussion