Extract MuPDF table structure information from a given rectangle.
(textpage, rect)
| 155 | |
| 156 | |
| 157 | def get_table_dict_from_rect(textpage, rect): |
| 158 | """Extract MuPDF table structure information from a given rectangle.""" |
| 159 | table_dict = {} |
| 160 | pymupdf.extra.make_table_dict(textpage.this.m_internal, table_dict, rect) |
| 161 | return table_dict |
| 162 | |
| 163 | |
| 164 | def make_table_from_bbox(textpage, word_rects, rect): |
no outgoing calls
no test coverage detected
searching dependent graphs…