Home
last modified time | relevance | path

Searched refs:table_box (Results 1 – 2 of 2) sorted by relevance

/external/tesseract/textord/
Dtablefind.cpp912 TBOX table_box = table->bounding_box(); in AdjustTableBoundaries() local
913 TBOX search_box = table_box; in AdjustTableBoundaries()
931 if (part_box.overlap_fraction(table_box) > kMinOverlapWithTable) { in AdjustTableBoundaries()
938 if (HLineBelongsToTable(part, table_box)) { in AdjustTableBoundaries()
968 const TBOX& table_box) { in HLineBelongsToTable() argument
970 if (!part->IsLineType() || !part_box.major_x_overlap(table_box)) in HLineBelongsToTable()
976 TBOX bbox = part_box.bounding_union(table_box); in HLineBelongsToTable()
989 if (extra_part_box.overlap_fraction(table_box) > 0.6) in HLineBelongsToTable()
1015 void ColumnFinder::IncludeLeftOutColumnHeaders(TBOX& table_box) { in IncludeLeftOutColumnHeaders() argument
1019 vsearch.StartVerticalSearch(table_box.left(), table_box.right(), in IncludeLeftOutColumnHeaders()
[all …]
Dcolfind.h323 bool HLineBelongsToTable(ColPartition* part, const TBOX& table_box);
327 void IncludeLeftOutColumnHeaders(TBOX& table_box);