image.textlinedetector: Segment Images in Text Lines and Words

Find text lines in scanned images and segment the lines into words. Includes implementations of the paper 'Novel A* Path Planning Algorithm for Line Segmentation of Handwritten Documents' by Surinta O. et al (2014) <doi:10.1109/ICFHR.2014.37> available at <>, an implementation of 'A Statistical approach to line segmentation in handwritten documents' by Arivazhagan M. et al (2007) <doi:10.1117/12.704538>, and a wrapper for an image segmentation technique to detect words in text lines as described in the paper 'Scale Space Technique for Word Segmentation in Handwritten Documents' by Manmatha R. and Srimal N. (1999) paper at <doi:10.1007/3-540-48236-9_3>, wrapper for code available at <>. Provides as well functionality to put cursive text in images upright using the approach defined in the paper 'A new normalization technique for cursive handwritten words' by Vinciarelli A. and Luettin J. (2001) <doi:10.1016/S0167-8655(01)00042-3>.

Version: 0.2.3
Imports: Rcpp (≥ 0.12.9), magick
LinkingTo: Rcpp
Suggests: opencv
Published: 2023-11-09
DOI: 10.32614/CRAN.package.image.textlinedetector
Author: Jan Wijffels [aut, cre, cph] (R wrapper), Vrije Universiteit Brussel - DIGI: Brussels Platform for Digital Humanities [cph] (R wrapper), Jeroen Ooms [ctb, cph] (More details in LICENSE.note file), Arthur Flôr [ctb, cph] (More details in LICENSE.note file), Saverio Meucci [ctb, cph] (More details in LICENSE.note file), Yeara Kozlov [ctb, cph] (More details in LICENSE.note file), Tino Weinkauf [ctb, cph] (More details in LICENSE.note file), Harald Scheidl [ctb, cph] (More details in LICENSE.note file)
Maintainer: Jan Wijffels <jwijffels at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: C++17 or C++11 and OpenCV 3 or newer: libopencv-dev (Debian, Ubuntu) or opencv-devel (Fedora)
Materials: README NEWS
CRAN checks: image.textlinedetector results


Reference manual: image.textlinedetector.pdf


Package source: image.textlinedetector_0.2.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): image.textlinedetector_0.2.3.tgz, r-oldrel (arm64): image.textlinedetector_0.2.3.tgz, r-release (x86_64): image.textlinedetector_0.2.3.tgz, r-oldrel (x86_64): image.textlinedetector_0.2.3.tgz
Old sources: image.textlinedetector archive


Please use the canonical form to link to this page.