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) available at <>, an implementation of 'A Statistical approach to line segmentation in handwritten documents' by Arivazhagan M. et al (2007) , 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 , wrapper for code available at <>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.5 by Jan Wijffels, 2 months ago

Browse source code at

Authors: 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)

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports Rcpp, magick

Suggests opencv

Linking to Rcpp

System requirements: C++11 and OpenCV 3 or newer: libopencv-dev (Debian, Ubuntu) or opencv-devel (Fedora)

See at CRAN