rust-qr-reader - Find and read QR-Codes

documentation Build Status

This crates exports functions and types that can be used to search for QR-Codes in images and decode them.

Usage

The most basic usage is shown below:

```rust use image; use rqrr;

let img = image::open("tests/data/github.gif")?.toluma(); // Prepare for detection let mut img = rqrr::PreparedImage::prepare(img); // Search for grids, without decoding let grids = img.detectgrids(); asserteq!(grids.len(), 1); // Decode the grid let (meta, content) = grids[0].decode()?; asserteq!(meta.ecclevel, 0); asserteq!(content, "https://github.com/WanzenBug/rqrr"); ``` For more information visit docs.rs

License

Either APACHE or MIT

Attribution

This library was made on the base of quirc