fullseye

qr_decode_modules — SYMBOL datacode2d op

使い方

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.

詳しい使い方ガイド

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

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

型が繋がる次の op(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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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