fullseye

text_candidates — TEXT detect op

使い方

SWT の連結成分を文字候補に絞る(幅のばらつき・縦横比・大きさ)。

Epshtein 2010 §4 の規則: 成分内のストローク幅の分散が平均に対して小さい / 縦横比が極端でない / 大きすぎない。swt は :func:swt_map の swt。 Returns dict: boxes(N×4 の [y0, x0, y1, x1]、半開区間)/ labels / stroke_width(各成分の中央値)/ n_components(絞る前の数)。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

text_lines

同カテゴリ(detect)

—


Provenance: textregion.py — TEXT operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.