tesseract
4.1.1
|
#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.
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.