detect op• 資料種類:matrix → table
• 呼叫: 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)(要直接呼叫實作,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);從台帳取用則 opstext.get("text_candidates"))
把 SWT 的連通分量篩選為字元候選(寬度離散度、長寬比、大小)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
Epshtein 2010 §4 の規則: 成分内のストローク幅の分散が平均に対して小さい /
縦横比が極端でない / 大きすぎない。`swt は :func:swt_map の swt`。
Returns dict: `boxes(N×4 の [y0, x0, y1, x1]、半開区間)/ labels` /
`stroke_width(各成分の中央値)/ n_components`(絞る前の数)。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者・年份)與用途見上面的族使用指南。
• poc_text_region_truth — py -3.11 examples/poc_text_region_truth.py
table 作為輸入)detect)—
*Provenance: textregion.py — TEXT 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.