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

Function _rects_intersect

scripts/extract_pdf_assets.py:129–133  ·  view source on GitHub ↗
(
    a: tuple[float, float, float, float],
    b: tuple[float, float, float, float],
)

Source from the content-addressed store, hash-verified

127
128
129def _rects_intersect(
130 a: tuple[float, float, float, float],
131 b: tuple[float, float, float, float],
132) -> bool:
133 return _intersection_area(a, b) > 0
134
135
136def _classify_visual_quality(

Callers 1

Calls 1

_intersection_areaFunction · 0.85

Tested by

no test coverage detected