ocr op• 資料種類:無 → table(僅由參數決定的運算子 —— 不接受影像或資料輸入)
• 呼叫: import fullseye as fs; fs.ledger.ocr_font(name: 'str' = 'dot5x7') -> 'dict'(要直接呼叫實作,import ocrclassic; ocrclassic.ocr_font(name: 'str' = 'dot5x7') -> 'dict';從台帳取用則 opssymbol.get("ocr_font"))
• GPU:無(僅 CPU 參考實作)
回傳內建字型(5x7 點陣 / 筆畫)的字元集與字形設計(table)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
name : "dot5x7" か "stroke"。
dict
name, charset (str), glyphs (char -> design: dot5x7 は (7,5) uint8 のビットマップ、
stroke は折れ線のリスト [[(x, y), ...], ...]), kind ("dot"/"stroke"),
grid (設計格子の (行, 列) または (高さ, 幅)), advance (設計単位の送り幅:
dot5x7 = 6 ドットピッチ、stroke = 6 格子単位)。
返す辞書は毎回新しい複製なので、呼ぶ側が字を足して ocr_render_text(font=<dict>) に
渡してよい(字種外の試験字を作る用途)。
ValueError
未知の書体名。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_symbol_lot_ocr — py -3.11 examples/poc_symbol_lot_ocr.py
table 作為輸入)render_symbol · symbol_read_trials · symbol_read_pod · ocr_classify · ocr_read_line · ocr_read_trials
ocr)ocr_render_text · ocr_segment_line · ocr_features · ocr_train · ocr_classify · ocr_read_line · ocr_score · ocr_read_trials
*Provenance: ocrclassic.py — SYMBOL 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.