Questions tagged [zbar]

for questions not specific to iPhone. ZBar is an open source (GNU LGPL 2.1) software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.

ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. ZBar supports several platforms: Windows, Linux, iPhone.

ZBar is used widely in iOS applications and has an SDK specifically for iphone devices.

ZBar SDK supports the iPhone 3GS and iPhone 4, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G. At the same time ZBar supports iPad 2 camera, in spite of absense of auto-focus camera.

ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

Use this tag for ZBar issues not related to iPhone ZBar SDK, for which there is a specific tag.

392 questions
4
votes
1 answer

ViewPager swiping lags when fragment contains camera preview

I have a 3-tab setup using a ViewPager and 3 fragments. One of the fragments implements a QR Code Scanner (ZBarScanner), which populates the entire fragment with a live view of the devices camera. I've found that this camera view causes the user…
pwee92
  • 107
  • 11
4
votes
7 answers

Scanning QR Code via zbar and Raspicam module

I want to use my raspi cam modul to scan QR codes. For detecting and decoding qr codes I want to use zbar. My current code: import io import time import picamera import zbar import Image if len(argv) < 2: exit(1) # Create an in-memory…
user3551782
  • 153
  • 2
  • 4
  • 10
4
votes
0 answers

Is it possible to decode a QR Code from photo library of a device in iOS?

I'm using Zbarqrcode reader iOS SDK. I want to scan a photo which has Qrcode in it from photo library of a device( not simulator ). Is it possible to do this? if yes, How?
4
votes
2 answers

ZBAR unable to scan PDF-417 iOS

I am using Zbar for my iOS barcode scanning app but the problem is it is not detecting pdf-417 type of barcodes. I've installed ZBAR app for iPhone it is also unable to detect pdf417. But in zbar symbols structure pdf 417 is added. I also tried to…
souvickcse
  • 7,742
  • 5
  • 37
  • 64
4
votes
2 answers

How to get the type of bar code from zbar?

In my application, Zbar is decoding perfectly. But the problem is Zbar can decode both QR code and bar code. So after decoding, how do I get the type of Encoding Style?
Amitabha
  • 1,664
  • 1
  • 12
  • 30
4
votes
2 answers

Android Studio 0.2.6 and ZBar project setup

I am using the latest Android Studio 0.2.6 and the latest ZBar Android SDK. What I have done so far: Created a brand new project called QRTest Created a folder called libs in my project Put the content of the Zbar libs directory into my project…
kurisukun
  • 3,149
  • 5
  • 37
  • 69
4
votes
1 answer

Unable to dismiss ZBarReaderViewController in imagePickerController didFinishPickingMediaWithInfo

Hi I'm developing a QR code reader app and having so much trouble when dismissing the ZBarReaderViewController. I have a view controller with a button which creates the reader and presents it. - (IBAction)scanAction:(id)sender { …
Mariano Latorre
  • 719
  • 1
  • 10
  • 21
4
votes
1 answer

QR scanner with ZXing and ZBar doesn't read low quality codes on cards

I have made applications using ZXing and ZBar both. Both are working fine and read good quality QR codes always. But problem is when I scan the code on a card which is not that much nice in quality it never scans. I even tried with 5 MP camera…
Shiv
  • 4,569
  • 4
  • 25
  • 39
4
votes
1 answer

Add overlay over top of ZBar scanner

I'm using the ZBar SDK to read QR codes on iPhone, however I want to add some text to the bottom of the camera/scanner view that is instructional text for the user. Here is what I have so far: UIView *cameraOverlayView = [[UIView alloc]…
Justin
  • 17,670
  • 38
  • 132
  • 201
3
votes
1 answer

Pyzbar Can't Decode QRCode

Have a bunch of QR Code labels printed from the same label printer, all can be read except for this one. Have tried all solutions from Preprocessing images for QR detection in python Losing my mind... any help appreciated! Code is here: import…
3
votes
1 answer

(MacBook M1):raise ImportError('Unable to find zbar shared library') ImportError: Unable to find zbar shared library

Mac OS X : brew install zbar Install this Python wrapper; use the second form to install dependencies of the command-line scripts: pip install pyzbar I tried these steps but i'm still getting the bellow error File…
3
votes
1 answer

Orientation of QR using Zbar python

I am detecting QR code with zbar in python. Right now I am getting 4 points in detected qr code. decodedObjects = pyzbar.decode(im) However, I am getting 4 points but no information about orientation. I need fixed orientation. My query images…
Hasan Iqbal
  • 173
  • 16
3
votes
1 answer

How to detect Bar Code from Image in Swift?

I am trying to detect bar code from user selected image. I am able to detect QR code from the image but can not find anything related to bar code scanning from Image. The code I am using to detect QR code from image is like below: func…
Anuran Barman
  • 1,556
  • 2
  • 16
  • 31
3
votes
1 answer

How to install ZBar for C on Debian

I am trying to install ZBar library on my Debian. https://en.wikipedia.org/wiki/ZBar First I tried to do this: sudo apt-get install zbar-tools zbar-dbg libzbar-dev Unfortunately it seems that it installed the 0.10 version which hasn't been…
user3742046
  • 171
  • 12
3
votes
1 answer

New Yocto Recipe Builds but Work Directory is Deleted after Compilation

I am trying to update the recipe for zbar from 0.10.0 to 0.20.1. Here is the original recipe: https://github.com/openembedded/meta-openembedded/blob/master/meta-oe/recipes-support/zbar/zbar_0.10.bb My modified recipe is at the bottom of this…
PhilBot
  • 748
  • 18
  • 85
  • 173