22 releases

0.10.1 Jan 27, 2026
0.10.0 Jul 27, 2025
0.9.3 Apr 7, 2025
0.9.2 Mar 23, 2025
0.2.0 Jun 5, 2019

#34 in Images

Download history 5731/week @ 2025-12-29 36054/week @ 2026-01-05 48614/week @ 2026-01-12 47419/week @ 2026-01-19 49414/week @ 2026-01-26 64020/week @ 2026-02-02 62387/week @ 2026-02-09 46756/week @ 2026-02-16 55986/week @ 2026-02-23 51919/week @ 2026-03-02 56512/week @ 2026-03-09 65819/week @ 2026-03-16 71399/week @ 2026-03-23 56387/week @ 2026-03-30 52583/week @ 2026-04-06 52267/week @ 2026-04-13

234,594 downloads per month
Used in 58 crates (44 directly)

(MIT OR Apache-2.0) AND ISC

145KB
4K SLoC

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:

use image;
use rqrr;

let img = image::open("tests/data/github.gif")?.to_luma();
// Prepare for detection
let mut img = rqrr::PreparedImage::prepare(img);
// Search for grids, without decoding
let grids = img.detect_grids();
assert_eq!(grids.len(), 1);
// Decode the grid
let (meta, content) = grids[0].decode()?;
assert_eq!(meta.ecc_level, 0);
assert_eq!(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

Dependencies

~1.2–2.8MB
~52K SLoC