Expand description
Table Structure Decoding Processor
This module provides postprocessing for table structure recognition models. It decodes structure token logits and extracts bounding boxes for table cells.
Structs§
- Cell
Grid Info - Grid position and span information for a table cell.
- Table
Structure Decode - Table structure decoder that converts model outputs to HTML tokens and bboxes.
- Table
Structure Decode Output - Output from table structure decoding.
Functions§
- parse_
cell_ grid_ info - Parses structure tokens to extract grid position and span info for each cell.
- wrap_
table_ html - Wraps table structure tokens with HTML document tags.
- wrap_
table_ html_ with_ content - Wraps table structure tokens into an HTML string with cell content filled in.