Skip to main content

Crate qrcode_decode

Crate qrcode_decode 

Source
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§

DecodedQrCode
A QR code recovered from an image by a QrDecoder.
GrayPixels
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.