WHAT THE SCANNER SEES / FAR
EXHIBIT 07
NEAR/FAR TWO-STATE MODULES
Move the sampling window. The message changes.
Two equal-size QR matrices occupy the same image. A small centered region in every module carries the near code; the surrounding region carries the far code.
PAPER-STYLE CONSTRUCTION / STANDARD QR READERS / PHYSICAL RESULTS VARY
DUAL-MESSAGE LAB
One image, two sampling apertures
The defaults reproduce the paper's first example parameters: version 1, ECC L, 29-pixel modules, and a 7-pixel centered near region.
WHAT CHANGED UNDERNEATH
WHAT A SECOND READER CAN RECOVER / NEAR
HOW AN ANALYST CAN NOTICE
CURRENT SAMPLED DECODE
near 0 / far 0near 0 / far 1near 1 / far 0near 1 / far 1IMPLEMENTATION SCOPE
The module-value decision is itself a representational layer.
This implementation follows Chou and Wang's generating algorithm: both messages use standard QR codes with the same version and ECC level; each corresponding bit pair selects one of four two-state module blocks; the centered region carries the near value and the outer region carries the far value; a four-module quiet zone surrounds the result.
The browser proves both matrices by resampling the rendered composite and decoding them with ZXing. Physical phone results still depend on screen density, camera focus, app behavior, glare, and distance. The paper reports near/far reads at about 30/50 cm on a monitor and 20/40 cm on paper for one setup, not universal thresholds.
Implemented from: Kuo-Cheng Chou & Ran-Zan Wang, “Dual-Message QR Codes,” Sensors 24(10):3055 (2024). doi:10.3390/s24103055 FULL
Read the research note