# zxing-cpp/zxing-cpp

C++ port of ZXing

Repository: https://github.com/zxing-cpp/zxing-cpp
Canonical: https://ross.abutalabs.com/products/zxing-cpp
Language: C++
License: Apache-2.0
License Family: permissive
Last push: 2026-08-20T10:33:09+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 3795, "days_push": 13, "days_rel": 35, "gap_med": 21, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1987, forks 553 (observed 2026-08-28T04:06:02.828089+00:00)

## What it is
ZXing-C++ is an open-source, multi-format 1D/2D barcode image processing library written in pure C++20, ported from the Java ZXing library with improved runtime and detection performance. It reads and writes many barcode symbologies (QR Code, Data Matrix, Aztec, PDF417, EAN/UPC, Code128, etc.) and offers bindings for many languages and platforms.

## Use cases
- decode qr codes from images in c++
- read barcodes from camera frames in an android app
- generate qr code images from text
- scan data matrix codes on shipping labels
- add barcode scanning to a python application
- detect pdf417 codes from scanned documents

## When to choose
- you need fast, dependency-free barcode reading/writing in C++ or via native bindings
- you need broad symbology support including QR, Data Matrix, Aztec, and PDF417
- you need thread-safe barcode processing in a production application

## When to avoid
- you need a ready-made GUI scanning app rather than a library
- you only target Java/JVM and can use the original ZXing directly
- you need symbologies not listed as supported, such as certain niche legacy formats

## Facets
- artifact type: library
- maturity: active
- function: image-processing, computer-vision, parser
- domain: computer-vision, image-processing, cross-platform, developer-tools
- platform: cpp, cross-platform, python, rust, wasm, dotnet
- tags: barcode, qr-code, barcode-scanning, barcode-generation, zxing, android, ios

## Member repositories
- zxing-cpp/zxing-cpp (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:02.828089+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:03:01.806275+00:00, confidence not recorded.
  - readme: https://github.com/zxing-cpp/zxing-cpp (fetched 2026-08-28T04:06:02.828089+00:00, sha 9cbcb845b9c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
