ZBar is a software suite for reading one-dimensional and two-dimensional barcodes from sources including webcams, image files, video streams and raw intensity sensors.
The software combines a decoding library with standalone applications. The zbarimg utility processes existing image files, while zbarcam turns a compatible video capture device into a barcode scanner. The command-line tools are particularly useful for automating barcode recognition in document processing, inventory management and other workflows where decoded information needs to be passed to another application.
ZBar also provides programming interfaces and graphical widgets that enable developers to incorporate barcode recognition into their own applications without implementing the underlying decoding algorithms.
This is free and open source software.
Key Features
- Support for EAN-13, EAN-8, UPC-A and UPC-E barcodes.
- Decode Code 128, Code 93, Code 39, Codabar and Interleaved 2 of 5 barcodes.
- Support for QR Code and SQ Code.
- Recognise multiple barcode symbols within an image.
- Live video capture using the Linux Video4Linux interface.
- Read numerous image file formats using ImageMagick or GraphicsMagick.
- Configure which barcode symbologies are recognised.
- Output decoded information in raw text or XML formats.
- Publish barcode recognition events through D-Bus.
- Lightweight decoding library with minimal external dependencies.
- Programming interfaces for C and C++, with bindings for Python, Perl and Java.
- Graphical scanning widgets for Qt and GTK applications.
- Cross-platform support – runs on Linux, macOS and Windows.
Website: github.com/mchehab/zbar
Support:
Developer: Jeff Brown, Mauro Carvalho Chehab and contributors
License: GNU Lesser General Public License v2.1
ZBar is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| QR Tools | |
|---|---|
| Zint | Barcode generating solution |
| CoBang | QR code and barcode scanner |
| Qreator | Easily create your own QR codes |
| Decoder | Fancy yet simple QR Codes scanner and generator |
| qrtool | Encode and decode QR code |
| QRab | QR code reader |
| qr-backup | Paper backup of files using QR codes |
| QR ScanGen | QR code scanner and generator |
| QR Scanner | QR scanner/generator app |
| libqrencode | Encoding data in a QR Code symbol |
| ClipQR | Scan QR codes on screen and from camera |
| Qrca | QR code scanner for Plasma Mobile |
| qr-rs | Encode URLs or text into QR codes |
| segno | Python library and CLI tool for generating QR Codes and Micro QR Codes |
| AR Tag | Minimalist image editor |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.