# {py:mod}`dawsonia.table_detect.utils` ```{py:module} dawsonia.table_detect.utils ``` ```{autodoc2-docstring} dawsonia.table_detect.utils :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`all_size_tables_match ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.all_size_tables_match :summary: ``` * - {py:obj}`any_size_tables_match ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.any_size_tables_match :summary: ``` * - {py:obj}`remove_row ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.remove_row :summary: ``` * - {py:obj}`remove_col ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.remove_col :summary: ``` * - {py:obj}`table_modif_rm_row_col ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.table_modif_rm_row_col :summary: ``` * - {py:obj}`apply_row_manipulation ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.apply_row_manipulation :summary: ``` * - {py:obj}`apply_col_manipulation ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.apply_col_manipulation :summary: ``` * - {py:obj}`sort_boxes_reading_order ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.sort_boxes_reading_order :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`logger ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.logger :summary: ``` * - {py:obj}`T ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.T :summary: ``` * - {py:obj}`__all__ ` - ```{autodoc2-docstring} dawsonia.table_detect.utils.__all__ :summary: ``` ```` ### API ````{py:data} logger :canonical: dawsonia.table_detect.utils.logger :value: > 'getLogger(...)' ```{autodoc2-docstring} dawsonia.table_detect.utils.logger ``` ```` ````{py:data} T :canonical: dawsonia.table_detect.utils.T :value: > 'TypeVar(...)' ```{autodoc2-docstring} dawsonia.table_detect.utils.T ``` ```` ````{py:data} __all__ :canonical: dawsonia.table_detect.utils.__all__ :value: > ('all_size_tables_match', 'any_size_tables_match', 'table_modif_rm_row_col') ```{autodoc2-docstring} dawsonia.table_detect.utils.__all__ ``` ```` ````{py:function} all_size_tables_match(size_tables_detected: typing.Sequence[dawsonia.table_detect.utils.T], size_tables_expected: typing.Sequence[dawsonia.table_detect.utils.T], preproc_cfg: dawsonia.typing.PreprocConfig) -> typing.Literal[2, 0] :canonical: dawsonia.table_detect.utils.all_size_tables_match ```{autodoc2-docstring} dawsonia.table_detect.utils.all_size_tables_match ``` ```` ````{py:function} any_size_tables_match(size_tables_detected: typing.Sequence[dawsonia.table_detect.utils.T], size_tables_expected: typing.Sequence[dawsonia.table_detect.utils.T], preproc_cfg: dawsonia.typing.PreprocConfig) -> typing.Literal[1, 0] :canonical: dawsonia.table_detect.utils.any_size_tables_match ```{autodoc2-docstring} dawsonia.table_detect.utils.any_size_tables_match ``` ```` ````{py:function} remove_row(l_size, list_pos, n_table=0, nb_remove=1) :canonical: dawsonia.table_detect.utils.remove_row ```{autodoc2-docstring} dawsonia.table_detect.utils.remove_row ``` ```` ````{py:function} remove_col(l_size, list_pos, n_table=0, nb_remove=1) :canonical: dawsonia.table_detect.utils.remove_col ```{autodoc2-docstring} dawsonia.table_detect.utils.remove_col ``` ```` ````{py:function} table_modif_rm_row_col(l_size, list_pos, idx_tables_size_verify, table_modif) :canonical: dawsonia.table_detect.utils.table_modif_rm_row_col ```{autodoc2-docstring} dawsonia.table_detect.utils.table_modif_rm_row_col ``` ```` ````{py:function} apply_row_manipulation(table, n_cols, division_list, original_image, label_tables) :canonical: dawsonia.table_detect.utils.apply_row_manipulation ```{autodoc2-docstring} dawsonia.table_detect.utils.apply_row_manipulation ``` ```` ````{py:function} apply_col_manipulation(table, n_rows, division_list) :canonical: dawsonia.table_detect.utils.apply_col_manipulation ```{autodoc2-docstring} dawsonia.table_detect.utils.apply_col_manipulation ``` ```` ````{py:function} sort_boxes_reading_order(boxes, y_tol=5) :canonical: dawsonia.table_detect.utils.sort_boxes_reading_order ```{autodoc2-docstring} dawsonia.table_detect.utils.sort_boxes_reading_order ``` ````