Questions tagged [zbar-sdk]

for questions 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 SDK for iPhone issues. For other platforms there is tag.

217 questions
8
votes
2 answers

xcode 4.5 - symbols not found for architecture i386 (zbar)

I have a project which uses the zbar-sdk (a barcode scanning library). After updating my machine to xcode 4.5 and ios6sdk I am having some troubles. I was able to build to the simulator without touching anything about my project. This is using the…
woopsicle
  • 91
  • 1
  • 2
  • 3
8
votes
1 answer

iOS: CGImageCreateWith[PNG or JPEG]DataProvider causes segmentation fault

I'm facing a weird problem. I'm developing an iOS command line barcode scanner utility using libzbar (yes, this is for jailbroken devices). All goes fine except when I'm trying to use the CGImageCreateWithPNGDataProvider() or…
user529758
7
votes
2 answers

Android Studio Couldn't Find "libiconv.so"

I am having an issue with my barcode scanning application, the code runs perfectly until I test the Scan button, at this point it crashes, and I receive the following error: 01-28 23:15:51.314 2261-2261/com.example.sage.appp E/AndroidRuntime﹕…
Sage Hopkins
  • 183
  • 1
  • 3
  • 15
7
votes
8 answers

How to hide info button in ZBar Bar Code Reader for iOS6.0 and above

I am using ZBar Bar Code Reader for iOS 5.0 and above in my iOS App. I have made info button hidden using following code on Camera Interface. UIView * infoButton= infoButton = [[[[[reader.view.subviews objectAtIndex:1] subviews] objectAtIndex:0]…
Prasen
  • 217
  • 1
  • 5
  • 15
6
votes
6 answers

How Do I Change The Frame Of A ZBar Reader?

Ok, so I'm using the ZBar SDK to scan barcodes in my iPhone app. I've successfully implemented the sample code, but now I want to change the frame of the scanner view (i.e: To half the screen size). I've tried setting the frame of the reader's view…
Dyldo42
  • 2,358
  • 2
  • 22
  • 26
6
votes
1 answer

how to customize CameraView for android ZBar QrCode Reader

I am using Zbar for reading QRCode. I use this https://github.com/DushyanthMaguluru/ZBarScanner example for my activity. The Question is how can I show cameraView on my FrameLayout ? EDIT: @Override public void onCreate(Bundle…
userAsk
  • 125
  • 1
  • 8
5
votes
3 answers

iPhone camera loses auto-focus when using ZBarSDK

I'm working on an app that the user can select if he wants to scan a barcode or take a picture of something. For taking a picture I'm using the UIImagePickerController as usual. For scanning barcode I'm using the ZbarSDK 1.2…
Avi Shukron
  • 6,088
  • 8
  • 50
  • 84
5
votes
1 answer

Python code for determining corner locations of a QR Code using Zbar

I would like to extend the code here to extract the corners of the QCodes. #!/usr/bin/python from sys import argv import zbar from PIL import Image if len(argv) < 2: exit(1) # create a reader scanner = zbar.ImageScanner() # configure the…
user3614305
  • 81
  • 1
  • 5
5
votes
1 answer

Run 32 bit library on iPhone 5s 64 bit

I'am using zbar in my application. If I want to run it on my iPhone 5s with an 64 bit processor, I get the following errors: Is it possible to use the 32 bit library on a 64 bit device, because I don't think, the library is going to be updated.
jussi
  • 2,166
  • 1
  • 22
  • 37
4
votes
1 answer

AVCapture loses ability to set focus when using ZBar SDK

This has been stumping me for days... In my app i am using AVCapture to take a photo, then i am using the ZBar SDK to scan a bar code. The problem is once I load ZBar after taking a picture, i lose the ability to auto focus when taking another…
AlBeebe
  • 8,101
  • 3
  • 51
  • 65
4
votes
1 answer

QR Code decoder library for python

I am trying to build an application in python that would encode and decode QR codes. I am successful with the encoder, but i don't find libraries(but zbar) for decoding in python. I am using Python 2.7 in a Windows 7 system. I am not able to…
vijay
  • 325
  • 1
  • 3
  • 12
4
votes
0 answers

ZBar SDK breaks in IOS 10

I have used Zbar for 1D barcode scanning but after an upgrade to IOS 10 it can no longer read multiple barcodes, it reads one barcode at the time where as before it would read multiple, in addition, the Camera view shows a green rectangle that…
Matt Douhan
  • 2,053
  • 1
  • 21
  • 40
4
votes
5 answers

Barcode reader with scanning indicator

I want to use barcode reader with scanning indicator. can anyone tell me which barcode sdk should I need to use. currently I am using zbar sdk. In zbar we don't have scanning indicator. Please see the screen shot which I want to implement
Bhupesh
  • 2,310
  • 13
  • 33
4
votes
2 answers

Scan qrcode and barcode from camera and image which picked from image library in swift

I'm a newbie with Ios. i'm learning swift and overlooked object c. Currently, i'm writing an demo with swift and xcode 6.1 which can scan qrcode and barcode from camera or an image from image library. I know that AVFoundation framework support…
Son Tran
  • 81
  • 1
  • 2
  • 6
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?
1
2
3
14 15