layout op• Data kinds: table → table
• Call: import fullseye as fs; fs.ledger.text_lines(boxes, stroke_width=None, overlap_ratio: 'float' = 0.5, gap_ratio: 'float' = 3.0, width_ratio: 'float' = 3.0) (to call the implementation directly, import textregion; textregion.text_lines(boxes, stroke_width=None, overlap_ratio: 'float' = 0.5, gap_ratio: 'float' = 3.0, width_ratio: 'float' = 3.0); from the registry, opstext.get("text_lines"))
Groups character-candidate boxes into lines (vertically overlapping, horizontally close, similar stroke width).
> The detailed description below is the original text — the summary and the headings are translated.
★規則の根拠(2026-09-27 実測): 候補は字画ごとの断片になる(横棒と 'l' では高さが 5 倍
違う)ので「高さが近い」を条件にすると 3 行が 30〜60 行に割れた。行の同一性は**縦の
重なり**(小さい方の高さの `overlap_ratio` 以上)で判定し、横の隙間は大きい方の高さの
`gap_ratio 倍以内、ストローク幅は width_ratio` 倍以内。
Returns dict: `lines(M×4 の矩形)/ members`(各行の候補 index のリスト)。
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_text_region_truth — py -3.11 examples/poc_text_region_truth.py
table as input)—
layout)—
*Provenance: textregion.py — TEXT operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.