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] | lines | The lines of text. |
[in] | language | The 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] | line | Image of text line. |
[in] | language | The language which should be recognized by Tesseract. (fra, en, ...) |
[in] | output_file | If set, store the recognized text in this file. |