← Articles

When our libraries are not the right choice — and what to use instead

Our libraries are built for one job: reading product codes quickly and without errors from camera frames on a production line or in a warehouse. For many other jobs there are better or cheaper options. Here is a list of those cases and what to use instead.

You need open source

dmr, unir and dmgen are commercial closed-source libraries. If you need to embed a library in an open-source project, build it from source for your platform, or you do not want to pay for a license, use zxing-cpp (Apache 2.0: DataMatrix, QR, barcodes) or libdmtx (BSD, DataMatrix only). Both read clean codes well; where they fall behind us and where they do better is shown in the open benchmark.

You read a code only occasionally

If you only need to read a code from a photo or a scan now and then, you do not need a paid library: zxing-cpp (in Python, the zxing-cpp package) or our free online decoder is enough. How not to lose the GS separator with zxing-cpp is explained in the article on DataMatrix in Python.

Mobile app, browser, macOS

We have no builds for Android, iOS, macOS or WebAssembly (reading directly in the browser). For a phone app, look at Google ML Kit, the zxing-cpp builds for Android and iOS, or commercial SDKs such as Scandit; for the browser, zxing-cpp compiled to WebAssembly. Our online decoder works from a phone, but the image is decoded on the server.

An old system or another compiler

  • Linux older than Debian 12. The Linux builds need glibc 2.36 or newer (Debian 12, Ubuntu 24.04, Raspberry Pi OS Bookworm). They will not run on Ubuntu 22.04, CentOS 7 or Debian 11 — that requires a custom build.
  • Static library and MSVC. The Windows build is made with MinGW-w64 GCC. From MSVC, C# or Delphi you can use only the dynamic library with the C ABI, not the static C++ library.
  • 32-bit Windows, Windows on ARM, microcontrollers (ESP32, STM32) are not supported.

You need other symbologies

unir reads DataMatrix, QR, Code 128, GS1-128 (SSCC) and EAN/UPC. We do not read PDF417, Aztec, Code 39, ITF-14, GS1 DataBar or MaxiCode — zxing-cpp does. The dmgen generator creates DataMatrix only; for other symbologies there are the open-source Zint and bwip-js.

You need print quality grading

We read codes but do not grade print quality per ISO/IEC 15415 (A–F). For print acceptance and disputes with a printer you need a hardware verifier with calibrated lighting — no software library can replace it.

When we do fit

  • Industrial camera frames on a conveyor: small modules, motion blur, glare, tilt, and a false read is unacceptable.
  • Many codes in one image: a case, a tray, a label sheet.
  • A deadline per frame: the library has to keep up with the line.
  • Offline operation, containers, Raspberry Pi and other ARM boards.
  • Reading needs tuning for your frames — we do that as custom work, with a free assessment on your images.

You can test on your own frames without buying: for the first month the libraries work on a machine without a license and without internet.

Chestny ZNAK is a trademark of CRPT LLC (ООО «Оператор-ЦРПТ»); GS1 is a trademark of GS1 AISBL. The product is not affiliated with or certified by their owners.