MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / _estimate_table_bbox

Function _estimate_table_bbox

scripts/extract_pdf_assets.py:957–965  ·  view source on GitHub ↗
(
    page,
    caption_anchor: dict,
    prev_anchor: dict | None,
    next_anchor: dict | None,
    page_rect,
)

Source from the content-addressed store, hash-verified

955
956
957def _estimate_table_bbox(
958 page,
959 caption_anchor: dict,
960 prev_anchor: dict | None,
961 next_anchor: dict | None,
962 page_rect,
963) -> tuple[float, float, float, float] | None:
964 result = _estimate_table_bbox_with_rows(page, caption_anchor, prev_anchor, next_anchor, page_rect)
965 return result[0] if result is not None else None
966
967
968def _estimate_table_bbox_with_rows(

Callers 1

extract_figure_regionsFunction · 0.85

Calls 1

Tested by

no test coverage detected