prison is a Qt-based barcode abstraction layer/library and provides uniform access to generation of barcodes with data.
- Data Matrix
prison currently ships the org.kde.prison.Barcode QML element that can be used to render barcodes in QML code.
There is basically two types of barcodes:
- barcodes that carries the data
- barcodes that carries a lookup number, and requires a specific server to look up the actual data.
prison isn't as such designed for the latter, it will probably work, but patches implementing barcode support for such barcodes will not be accepted. A example is EZCode.
A barcode scanner consuming a live video feed from QtMultimedia.
There are standalone QML examples in tests/scanner-qt(5|6).qml demonstrating the QML API.
Barcode detection is implemented using the ZXing library, all formats supported by ZXing can be detected.