ZXing VS ZBar

Compare ZXing vs ZBar and see what are their differences.

ZXing

ZXing ("Zebra Crossing") barcode scanning library for Java, Android (by zxing)

ZBar

Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar (by ZBar)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ZXing ZBar
42 7
32,191 2,460
0.5% 0.5%
8.6 0.0
7 days ago 29 days ago
Java C
Apache License 2.0 GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ZXing

Posts with mentions or reviews of ZXing. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.

ZBar

Posts with mentions or reviews of ZBar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-27.
  • Is there an open source QR code reader for Windows?
    4 projects | /r/opensource | 27 Aug 2022
    If it is in OpenCV probably you can use code from tutorials? (https://learnopencv.com/opencv-qr-code-scanner-c-and-python/) Or ZBar: http://zbar.sourceforge.net/ https://github.com/mchehab/zbar - there are builds for Windows
    4 projects | /r/opensource | 27 Aug 2022
    I'm pretty sure ZBar is supported on windows. It includes the zbarcam tool, which can scan from camera.
  • How to decode a QR-code image in (preferably pure) Python?
    4 projects | /r/codehunter | 9 Apr 2022
    ZBar (website here) claims to be "an open source software suite for reading bar codes from various sources, such as image files." So I tried installing it on Mac OSX running sudo pip install zbar. This fails with error: command 'cc' failed with exit status 1. I tried to suggestions in the answers to this SO question, but I can't seem to solve it. So I decided to move on again:

What are some alternatives?

When comparing ZXing and ZBar you can also consider the following projects:

mlkit - A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS

android-ocr

C++ Format - A modern formatting library

Tess4J - Java JNA wrapper for Tesseract OCR API

Code Scanner - Code scanner library for Android, based on ZXing

Thumbnailator - Thumbnailator - a thumbnail generation library for Java

PHP CPP - Library to build PHP extensions with C++

Picasso - A powerful image downloading and caching library for Android

stb - stb single-file public domain libraries for C/C++

zxing-cpp - C++ port of ZXing

TwelveMonkeys - TwelveMonkeys ImageIO: Additional plug-ins and extensions for Java's ImageIO