datacode2d op• 資料種類:matrix → table
• 呼叫: import fullseye as fs; fs.ledger.qr_decode_modules(modules) -> 'dict'(要直接呼叫實作,import qrsym; qrsym.qr_decode_modules(modules) -> 'dict';從台帳取用則 opssymbol.get("qr_decode_modules"))
• GPU:無(僅 CPU 參考實作)
解碼 QR 模組格線(無靜區,1 = 暗)並回傳每個區塊的更正碼字數(table)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
Decode an (N,N) 0/1 module grid (1 = dark, no quiet zone). The transposed (mirrored) grid is tried when the direct read fails.
Returns a dict with text, version, ec_level, mask, mode, modes, n_corrected, block_corrected, block_ec, block_capacity (= floor((n_ec - p)/2)), block_p (誤復号保護語 / misdecode-protection codewords), blocks, mirrored, format_distance and codeword_index. In the mirrored case codeword_index refers to the transposed (read) grid; transpose it to index the input grid.
Raises QRDecodeError when neither orientation decodes.
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_symbol_part_dpm — py -3.11 examples/poc_symbol_part_dpm.py
table 作為輸入)render_symbol · symbol_read_trials · symbol_read_pod · ocr_classify · ocr_read_line · ocr_read_trials
datacode2d)qr_encode · qr_locate · qr_sample · qr_read · dm_encode · dm_decode_modules · dm_locate · dm_sample
*Provenance: qrsym.py — SYMBOL 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.