text_candidates — TEXT detect op

• Data kinds: matrix → table

• Call: import fullseye as fs; fs.ledger.text_candidates(swt, min_area: 'int' = 8, max_var_ratio: 'float' = 0.5, aspect_range=(0.1, 10.0), max_height: 'int' = 300) (to call the implementation directly, import textregion; textregion.text_candidates(swt, min_area: 'int' = 8, max_var_ratio: 'float' = 0.5, aspect_range=(0.1, 10.0), max_height: 'int' = 300); from the registry, opstext.get("text_candidates"))

Usage

Narrows the connected components of the SWT down to character candidates (width spread, aspect ratio, size).

> The detailed description below is the original text — the summary and the headings are translated.

Epshtein 2010 §4 の規則: 成分内のストローク幅の分散が平均に対して小さい /

縦横比が極端でない / 大きすぎない。`swt は :func:swt_map の swt`。

Returns dict: `boxes(N×4 の [y0, x0, y1, x1]、半開区間)/ labels` /

`stroke_width(各成分の中央値)/ n_components`(絞る前の数)。

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

• poc_text_region_truth — py -3.11 examples/poc_text_region_truth.py

Ops the type connects to (they accept table as input)

text_lines

Same category (detect)

—


*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.