Skip to Main content Skip to Navigation
Conference papers

Libcrn, an Open-Source Document Image Processing Library

Yann Leydier 1 Jean Duong 1 Stéphane Brès 1 Véronique Eglin 1 Frank Lebourgeois 1 Martial Tola 1
1 imagine - Extraction de Caractéristiques et Identification
LIRIS - Laboratoire d'InfoRmatique en Image et Systèmes d'information
Abstract : In this paper we introduce libcrn, a multiplatform open-source document image processing library aimed at researchers and companies. It is written in C++11 and has a non-contaminating license that makes it available for use in any project without legal constraints. The features include low-level image processing (color format conversion, binarization, convolution, PDE. . . ), document images specific tools (connected components extraction, recursive block description, PDF export. . . ), maths (matrix arithmetics, linear algebra, GMMs, equation solvers. . . ), classification and clustering (kNN, k-means, HMMs. . . ). The API is comprehensively documented and libcrn’s architecture follows modern C++ guidelines to facilitate the handling of the library and enforce its safe usage. A sample OCR, which is only 30 lines long, is described to illustrate libcrn’s scope of possibilities.
Complete list of metadatas

Cited literature [18 references]  Display  Hide  Download
Contributor : Véronique Eglin <>
Submitted on : Sunday, November 27, 2016 - 4:08:59 PM
Last modification on : Wednesday, July 8, 2020 - 12:43:46 PM
Long-term archiving on: : Tuesday, March 21, 2017 - 6:51:30 AM


Files produced by the author(s)


  • HAL Id : hal-01403756, version 1


Yann Leydier, Jean Duong, Stéphane Brès, Véronique Eglin, Frank Lebourgeois, et al.. Libcrn, an Open-Source Document Image Processing Library. International Conference on Fontiers in Handwriting Recognition, Oct 2016, Shenzhen, China. ⟨hal-01403756⟩



Record views


Files downloads