tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
126 int column_start,
int column_end);
178 bool decrease)
const;
180 bool decrease)
const;
ColPartitionGrid * text_grid_
void FindWhitespacedRows()
bool FindWhitespacedStructure()
void set_max_text_height(int height)
bool FindLinedStructure()
void set_min_height(int height)
GenericVectorEqEq< int > cell_y_
int FindVerticalMargin(ColPartitionGrid *grid, int start_x, bool decrease) const
bool VerifyRowFilled(int row)
int CountPartitions(const TBOX &box)
void set_max_text_height(int height)
bool FindLinesBoundingBoxIteration(TBOX *bounding_box)
void set_text_grid(ColPartitionGrid *text)
static bool IsWeakTableRow(StructuredTable *table, int row)
int column_width(int column) const
bool DoesPartitionFit(const ColPartition &part) const
bool VerifyWhitespacedTable()
void set_line_grid(ColPartitionGrid *lines)
int CountVerticalIntersections(int x)
int NextHorizontalSplit(int left, int right, int y, bool top_to_bottom)
double CalculateCellFilledPercentage(int row, int column)
void UpdateMargins(ColPartitionGrid *grid)
void set_bounding_box(const TBOX &box)
int row_height(int row) const
int CountFilledCellsInColumn(int column)
GenericVectorEqEq< int > cell_x_
bool FindLinesBoundingBox(TBOX *bounding_box)
StructuredTable * RecognizeTable(const TBOX &guess_box)
ColPartitionGrid * text_grid_
void set_text_grid(ColPartitionGrid *text)
void FindWhitespacedColumns()
ColPartitionGrid * line_grid_
void set_min_width(int width)
void Display(ScrollView *window, ScrollView::Color color)
void set_line_grid(ColPartitionGrid *lines)
bool VerifyLinedTableCells()
bool HasSignificantLines(const TBOX &guess)
int CountHorizontalIntersections(int y)
~StructuredTable()=default
int FindHorizontalMargin(ColPartitionGrid *grid, int start_y, bool decrease) const
ColPartitionGrid * line_grid_
bool RecognizeWhitespacedTable(const TBOX &guess_box, StructuredTable *table)
const TBOX & bounding_box() const
static void FindCellSplitLocations(const GenericVector< int > &min_list, const GenericVector< int > &max_list, int max_merged, GenericVector< int > *locations)
bool RecognizeLinedTable(const TBOX &guess_box, StructuredTable *table)
int CountFilledCellsInRow(int row)