$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Text Recognition

Functions

template<typename L >
void scribo::text::recognition (line_set< L > &lines, const char *language)
template<typename I >
void scribo::text::recognition (const Image< I > &line, const char *language, const std::string &output_file=std::string())

Detailed Description

All routines/algorithms to recognize text.

Function Documentation

template<typename L >
void scribo::text::recognition ( line_set< L > &  lines,
const char *  language 
)

Passes the text bboxes to Tesseract (OCR).

Parameters
[in]linesThe lines of text.
[in]languageThe language which should be recognized by Tesseract. (fra, en, ...)
template<typename I >
void scribo::text::recognition ( const Image< I > &  line,
const char *  language,
const std::string &  output_file = std::string() 
)

Recognize text from an image.

Parameters
[in]lineImage of text line.
[in]languageThe language which should be recognized by Tesseract. (fra, en, ...)
[in]output_fileIf set, store the recognized text in this file.