text op• 資料種類:labels2d → labels2d
• 呼叫: import fullseye as fs; fs.ledger.select_characters(labels, min_height_ratio=0.5, max_height_ratio=1.5, max_width_ratio=2.0)(要直接呼叫實作,import mvtext; mvtext.select_characters(labels, min_height_ratio=0.5, max_height_ratio=1.5, max_width_ratio=2.0);從台帳取用則 opsmv.get("select_characters"))
• HALCON 對應:select_characters(其含義與參數可參考 HALCON 手冊)
• GPU:無(僅 CPU 參考實作)
從字元標籤圖中去掉高度或寬度偏離中位數的塊,並從左重新編號。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
高さと幅の中央値に対する比で判定する。塊が 1 つも無いと全 0 を返す(理由: 字が無い)。空の入力(labels が 0 要素)は ValueError。
Args:
labels: segment_characters のラベル画像。
min_height_ratio: 高さの下限(中央値に対する比)。
max_height_ratio: 高さの上限(中央値に対する比)。
max_width_ratio: 幅の上限(中央値に対する比)。
Returns:
labels と同じ形の整数ラベル画像。
• machine_vision_classics 族使用指南
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• machine_vision_tour — py -3.11 examples/machine_vision_tour.py
• poc_real_typewritten_ocr — py -3.11 examples/poc_real_typewritten_ocr.py
labels2d 作為輸入)—
text)text_line_orientation · text_line_slant · segment_characters
*Provenance: mvtext.py — MV 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.