Expand description
QR code decoding (scan-to-data).
This module defines the QrDecoder trait and the value types a decoder
returns (DecodedQrCode). The trait takes a borrowed grayscale view
(GrayPixels) so it stays decoupled from the image crate: a decoder
working from a camera frame or an embedded framebuffer can implement
QrDecoder without pulling in image.
Encoding is the primary mission of this crate; decoding is bridged via an
opt-in adapter (see the rqrr feature). Implementing QrDecoder
for your own decoder is always available.
Modules§
- sa_
parse - Structured Append bit-stream parser.
Structs§
- Decoded
QrCode - A QR code recovered from an image by a
QrDecoder. - Gray
Pixels - A borrowed grayscale (luma) pixel view: the universal input to a
QrDecoder.
Traits§
- QrDecoder
- A QR code decoder: turns a grayscale image back into data.