QR SDK · complete reads in difficult frames

More complete reads
fewer missed QR codes.

Airfrog QR SDK is a QR code recognition library with a Rust core and Python API. Get the text and coordinates of multiple QR codes in one image. Test Airfrog on your own photos if missed labels lead to repeat scans or manual review.

Airfrog Branded QR
Branded QR

Difficult images

Perspective, blur, shadows, and damage. We compare decoders on the same images with these distortions.

Every QR code in the frame

We count every code, including identical text at different positions. Finding one QR code is not enough for a complete frame.

Measured speed

Processing time depends on image size and complexity. The comparison includes every attempt, including failed reads.

Your capture conditions

This comparison can help you shortlist a decoder. The next step is testing it on your images and device.

QR code reading comparison

· 225 images · 45 scenarios

AirFrog got 220 of 225 images right, the most in this comparison. The lowest average time in the table is 2.88 ms per image for ZXing-C++ 2.3.0.

Every reader got the same images. Some have several QR codes and 10 have none. An image counts as correct when the reader returns exactly the QR codes it contains.

QR code reading results on 225 images
QR readerImages read correctlyAverage time per image
AirFrog 0.1.0220 of 2258.13 ms
WeChat QRCode OpenCV 4.12.0.88199 of 22515.93 ms
ZXing-C++ 3.1.1193 of 2253.02 ms
ZXing-C++ 2.3.0189 of 2252.88 ms
OpenCV QRCodeDetector 4.12.0.88152 of 22515.55 ms
How we tested

The table shows the average time per saved image, including decoding the PNG from memory and reading its QR codes.

We measured AirFrog in six rounds after a warm-up, with one thread. The other readers use October measurements. For ZXing-C++ 3.1.1, we combined 220 saved results with five repeats of one heavily distorted image (Fisheye).

All 45 scenarios and methodology

Separate test on one real photo

In October, we ran a separate test on one photo with three QR codes. The table above covers a different set of images.

Airfrog — 3 of 3 · ZXing C++ — 2 of 3 · WeChat — 1 of 3 · OpenCV — 0 of 3.

Scenarios where Airfrog ranks in the top two

The examples below include first- and second-place results by quality, then by time; exact ties share a place. Synthetic results show the share of complete frames; photo results show correctly read QR codes. AirFrog was rerun on the October inputs. Competitor results come from the October archive, with a Fisheye supplement for ZXing-C++ 3.1.1 in the table. All 45 scenarios.

Real photos

IMG_1178: three spatial QR codes, including two with the same text. Text and position checked strictly across three runs per decoder.

IMG_1178 — three QR codes in one photo

Correctly read QR codes
Airfrog
3/3 · 610.4ms
ZXing C++
2/3 · 243.0ms
WeChat
1/3 · 208.0ms
OpenCV
0/3 · 860.2ms

Image artifacts

Compression and image alterations.

Coffee Stain

Complete frames
Airfrog
100% · 69.9ms
ZXing C++
0% · 2.7ms
OpenCV
0% · 16.5ms
WeChat
0% · 27.3ms

Crumpled Paper

Complete frames
Airfrog
100% · 20.0ms
ZXing C++
80% · 2.7ms
WeChat
80% · 14.0ms
OpenCV
40% · 15.6ms

Color and contrast

Inverted colors and low contrast.

⚡️ 2.5x faster

Blue on Yellow

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.6ms
WeChat
100% · 10.2ms
OpenCV
100% · 15.9ms
⚡️ 2.5x faster

Red on Green

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.6ms
WeChat
100% · 10.0ms
OpenCV
100% · 15.9ms

Damaged labels

Data recovery from torn, scuffed, and partially covered codes.

Missing Finder

Complete frames
WeChat
100% · 10.3ms
Airfrog
100% · 22.8ms
ZXing C++
0% · 2.6ms
OpenCV
0% · 15.3ms

Logo Overlay (Large)

Complete frames
Airfrog
100% · 66.0ms
ZXing C++
0% · 2.6ms
OpenCV
0% · 22.0ms
WeChat
0% · 25.6ms
⚡️ 1.3x faster

Scratched

Fastest
Airfrog
100% · 2.1ms
WeChat
100% · 28.4ms
ZXing C++
0% · 2.6ms
OpenCV
0% · 8.4ms

QR data

Payload density and Cyrillic text.

⚡️ 1.5x faster

Max Density (Binary)

Fastest
Airfrog
100% · 2.2ms
ZXing C++
100% · 3.3ms
WeChat
100% · 11.6ms
OpenCV
100% · 18.3ms
⚡️ 2.7x faster

Min Density (Numeric)

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.7ms
WeChat
100% · 10.1ms
OpenCV
100% · 15.7ms
⚡️ 2.4x faster

Cyrillic payload

Fastest
Airfrog
100% · 1.2ms
ZXing C++
100% · 2.7ms
WeChat
100% · 10.7ms
OpenCV
100% · 16.9ms

Backgrounds

Textures and visual clutter.

Busy Texture BG

Complete frames
ZXing C++
100% · 4.1ms
Airfrog
100% · 4.2ms
WeChat
100% · 9.1ms
OpenCV
100% · 15.4ms

Geometry

Perspective, rotation, mirroring, and curved surfaces.

⚡️ 2.6x faster

Clean

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.7ms
WeChat
100% · 10.5ms
OpenCV
100% · 16.5ms
⚡️ 2.2x faster

Perspective Tilt

Fastest
Airfrog
100% · 1.3ms
ZXing C++
100% · 2.7ms
OpenCV
0% · 8.6ms
WeChat
0% · 59.9ms

Cylinder Wrap

Complete frames
Airfrog
100% · 5.0ms
WeChat
100% · 11.3ms
ZXing C++
0% · 2.9ms
OpenCV
0% · 17.0ms
⚡️ 2.2x faster

Rotation 45

Fastest
Airfrog
100% · 1.3ms
ZXing C++
100% · 2.8ms
WeChat
100% · 11.6ms
OpenCV
100% · 17.1ms

Mirror Horizontal

Complete frames
ZXing C++
100% · 2.6ms
Airfrog
100% · 2.6ms
WeChat
100% · 10.2ms
OpenCV
100% · 15.9ms

Lighting

Low light, hard shadows, and bright reflections.

⚡️ 2.6x faster

Faded (Low Contrast)

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.7ms
WeChat
100% · 11.2ms
OpenCV
100% · 16.1ms
⚡️ 2.6x faster

Overexposed

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.7ms
WeChat
100% · 10.3ms
OpenCV
100% · 16.3ms
⚡️ 2.6x faster

Inverted

Fastest
Airfrog
100% · 1.0ms
ZXing C++
100% · 2.7ms
WeChat
100% · 11.9ms
OpenCV
0% · 8.2ms
⚡️ 1.6x faster

Hard Shadow

Fastest
Airfrog
100% · 1.8ms
ZXing C++
100% · 2.8ms
WeChat
100% · 10.4ms
OpenCV
0% · 16.6ms
⚡️ 1.9x faster

Vignette (Dark Edges)

Fastest
Airfrog
100% · 1.9ms
ZXing C++
100% · 3.6ms
WeChat
100% · 11.1ms
OpenCV
100% · 17.2ms

Print margins

Missing quiet zones around the code.

No Quiet Zone

Complete frames
ZXing C++
100% · 0.4ms
Airfrog
100% · 0.5ms
WeChat
100% · 2.4ms
OpenCV
100% · 6.1ms

Multiple QR codes

Complete reads, duplicate text, and mixed polarity.

⚡️ 1.7x faster

Two payloads

Fastest
Airfrog
100% · 0.8ms
ZXing C++
100% · 1.4ms
WeChat
100% · 6.4ms
OpenCV
100% · 15.8ms
⚡️ 1.3x faster

Mixed polarity

Fastest
Airfrog
100% · 0.9ms
ZXing C++
100% · 1.1ms
WeChat
100% · 5.4ms
OpenCV
0% · 12.2ms
⚡️ 1.3x faster

Repeated payload

Fastest
Airfrog
100% · 0.8ms
ZXing C++
100% · 1.1ms
WeChat
100% · 5.4ms
OpenCV
100% · 14.2ms

Combined distortions

Perspective combined with blur and noise.

⚡️ 2.2x faster

Persp + Blur + Noise

Fastest
Airfrog
100% · 1.4ms
ZXing C++
100% · 3.2ms
WeChat
100% · 10.2ms
OpenCV
0% · 8.9ms

Motion and focus

Read while things move: motion blur, defocus, and camera shake.

⚡️ 2.3x faster

Gaussian Blur

Fastest
Airfrog
100% · 1.3ms
ZXing C++
100% · 3.0ms
WeChat
100% · 10.4ms
OpenCV
100% · 17.1ms
⚡️ 2.2x faster

Motion Blur

Fastest
Airfrog
100% · 1.2ms
ZXing C++
100% · 2.6ms
WeChat
100% · 10.3ms
OpenCV
100% · 17.7ms

Image distortions

A fixed stress-image set with blur, noise, lighting changes, and perspective. Real photographs are a separate set.

⚡️ 2.2x faster

Stress: stress_blur_mild.png

Fastest
Airfrog
100% · 1.3ms
ZXing C++
100% · 2.8ms
WeChat
100% · 11.3ms
OpenCV
100% · 17.3ms
⚡️ 2.1x faster

Stress: stress_blur_strong.png

Fastest
Airfrog
100% · 1.6ms
ZXing C++
100% · 3.3ms
WeChat
100% · 12.3ms
OpenCV
100% · 20.5ms
⚡️ 2.5x faster

Stress: stress_combo.png

Fastest
Airfrog
100% · 2.5ms
ZXing C++
100% · 6.1ms
WeChat
100% · 14.8ms
OpenCV
100% · 23.3ms
⚡️ 2.5x faster

Stress: stress_combo_blur___noise___tilt.png

Fastest
Airfrog
100% · 2.5ms
ZXing C++
100% · 6.2ms
WeChat
100% · 14.9ms
OpenCV
100% · 23.7ms
⚡️ 2.3x faster

Stress: stress_low_light.png

Fastest
Airfrog
100% · 1.2ms
ZXing C++
100% · 2.8ms
WeChat
100% · 11.3ms
OpenCV
100% · 17.7ms
⚡️ 1.9x faster

Stress: stress_perspective_extreme.png

Fastest
Airfrog
100% · 1.4ms
ZXing C++
0% · 2.6ms
OpenCV
0% · 8.7ms
WeChat
0% · 33.7ms
⚡️ 2.2x faster

Stress: stress_perspective_tilt.png

Fastest
Airfrog
100% · 1.4ms
ZXing C++
100% · 2.9ms
WeChat
100% · 11.4ms
OpenCV
100% · 17.3ms
⚡️ 2.3x faster

Stress: stress_reference.png

Fastest
Airfrog
100% · 1.2ms
ZXing C++
100% · 2.8ms
WeChat
100% · 11.2ms
OpenCV
100% · 17.9ms
⚡️ 2.3x faster

Stress: stress_reference_no_distortion.png

Fastest
Airfrog
100% · 1.2ms
ZXing C++
100% · 2.8ms
WeChat
100% · 11.3ms
OpenCV
100% · 17.7ms
⚡️ 2.3x faster

Stress: stress_sensor_noise.png

Fastest
Airfrog
100% · 2.6ms
ZXing C++
100% · 6.0ms
OpenCV
100% · 21.4ms
WeChat
100% · 29.8ms

Scale and distance

Codes on high shelves and small, dense symbols.

Tiny (64px)

Complete frames
ZXing C++
100% · 0.2ms
Airfrog
100% · 0.6ms
WeChat
100% · 0.7ms
OpenCV
0% · 4.5ms
⚡️ 1.4x faster

Medium (256px)

Fastest
Airfrog
100% · 0.5ms
ZXing C++
100% · 0.7ms
WeChat
100% · 3.7ms
OpenCV
100% · 7.1ms
⚡️ 3.7x faster

Huge (1024px)

Fastest
Airfrog
100% · 2.9ms
ZXing C++
100% · 10.6ms
WeChat
100% · 16.3ms
OpenCV
100% · 58.3ms

A QR code SDK for your application

Capture a frame or read an image file, pass its bytes to the SDK, and get back code text and coordinates. Your app can highlight labels, match identifiers to an order, or request another photo. In Python, use QRDecoder().decode_all(image_bytes) to read multiple QR codes.

Start with the Python example, a decoder comparison, or a guide to a specific failure. The guides cover original image data, multiple labels, print damage, and OpenCV errors. Contact us to check SDK availability for your platform.

How to choose a QR code SDK

A clear, single QR code and a photo of a package with several labels have different requirements. For one code, a simple call and speed may matter most. For several labels, check whether every code was read, whether its position is correct, and how often the frame needs another attempt.

When should I try Airfrog?

Consider it when your current library regularly misses small labels, multiple codes, damaged prints, or codes at difficult angles. Compare the decoders on the original files. Our Airfrog, ZXing-C++, OpenCV, and WeChat benchmark helps shortlist options and explains the limits of the comparison.

How do I read multiple QR codes from a photo in Python?

Pass PNG or JPEG bytes to decode_all. It returns a list of the text and corners for each code it reads. Keep every result, even when two codes contain the same text. The Python API example covers input data, coordinates, and errors.

How is an SDK different from an online QR scanner?

An online scanner is useful for manually checking one image. An SDK is integrated into an application to process images in code and pass results to the next step in a workflow. Airfrog is presented here as a developer library; contact us to discuss SDK access and your runtime environment.

Can a damaged QR code be recovered?

Decoding may work if enough data and structure remain. The result depends on what is damaged, including finder patterns, contrast, and image quality. Our guide to damaged QR codes helps separate print defects from capture problems and plan a test.

Test it on your images?

Tell us which QR codes your application misses. Include your platform, number of codes per frame, and processing-time limit. We can discuss SDK availability and how to evaluate it for your use case.

support@airfrog.ru

© 2026 Airfrog Vision. Optimized Performance.