|
tesseract
5.0.0-alpha-619-ge9db
|
#include <cctype>#include <cmath>#include "errcode.h"#include "drawtord.h"#include "blkocc.h"#include <tesseract/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.
| testing_on | drawing blob |
| blob | blob to test |
| baseline | coords of baseline |
| xheight | height of line |
Definition at line 48 of file blkocc.cpp.
| double textord_underline_threshold = 0.5 |
"Fraction of width occupied"
Definition at line 33 of file blkocc.cpp.