|
tesseract
4.0.0-1-g2a2b
|
#include <cctype>#include <cmath>#include "errcode.h"#include "drawtord.h"#include "blkocc.h"#include "helpers.h"Go to the source code of this file.
Functions | |
| bool | test_underline (bool testing_on, C_BLOB *blob, int16_t baseline, int16_t xheight) |
Variables | |
| double | textord_underline_threshold = 0.5 |
| bool test_underline | ( | bool | testing_on, |
| C_BLOB * | blob, | ||
| int16_t | baseline, | ||
| int16_t | xheight | ||
| ) |
test_underline
Check to see if the blob is an underline. Return TRUE if it is.
Definition at line 53 of file blkocc.cpp.
| double textord_underline_threshold = 0.5 |
"Fraction of width occupied"
Definition at line 38 of file blkocc.cpp.