tesseract
5.0.0-alpha-619-ge9db
|
#include "fpchop.h"
Go to the source code of this file.
Functions | |
void | restore_underlined_blobs (TO_BLOCK *block) |
TO_ROW * | most_overlapping_row (TO_ROW_LIST *rows, BLOBNBOX *blob) |
void | find_underlined_blobs (BLOBNBOX *u_line, QSPLINE *baseline, float xheight, float baseline_offset, ICOORDELT_LIST *chop_cells) |
void | vertical_cunderline_projection (C_OUTLINE *outline, QSPLINE *baseline, float xheight, float baseline_offset, STATS *lower_proj, STATS *middle_proj, STATS *upper_proj) |
Variables | |
double | textord_underline_offset = 0.1 |
bool | textord_restore_underlines = false |
void find_underlined_blobs | ( | BLOBNBOX * | u_line, |
QSPLINE * | baseline, | ||
float | xheight, | ||
float | baseline_offset, | ||
ICOORDELT_LIST * | chop_cells | ||
) |
Definition at line 160 of file underlin.cpp.
Definition at line 104 of file underlin.cpp.
void restore_underlined_blobs | ( | TO_BLOCK * | block | ) |
Definition at line 28 of file underlin.cpp.
void vertical_cunderline_projection | ( | C_OUTLINE * | outline, |
QSPLINE * | baseline, | ||
float | xheight, | ||
float | baseline_offset, | ||
STATS * | lower_proj, | ||
STATS * | middle_proj, | ||
STATS * | upper_proj | ||
) |
Definition at line 204 of file underlin.cpp.
bool textord_restore_underlines = false |
"Chop underlines & put back"
Definition at line 21 of file underlin.cpp.
double textord_underline_offset = 0.1 |
"Fraction of x to ignore"
Definition at line 20 of file underlin.cpp.