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
1
vote
0 answers

Customize scanner camera view zbar ios sdk

Is there a way to customize zbar sdk camera view. I used below code to add the scanner. ZBarReaderViewController *reader = [ZBarReaderViewController new]; reader.readerDelegate = self; reader.supportedOrientationsMask =…
Susitha
  • 3,339
  • 5
  • 27
  • 41
1
vote
1 answer

zbar freeze while trying open the camera view

I'm using zbar sdk to scan barcodes. The problem is sometimes it freezes while trying to open the camera view. It can takes 1-4 minutes. It is too long and annoying, but sometimes it opens quickly. How can I solve this issue?…
user3309441
  • 107
  • 11
1
vote
2 answers

ZBarReaderViewController reader view changes orientation for iOS6 & iOS7 even after restricting it by _reader.supportedOrientationsMask

I am using ZBarSDK for QR Code scanning feature. I want to use this only in PORTRAIT mode only. As per the documentation I set it up with below code line: _reader.supportedOrientationsMask = ZBarOrientationMask(UIInterfaceOrientationPortrait); As…
Niraj
  • 1,939
  • 20
  • 29
1
vote
2 answers

Scaning static UIImage using ios ZBar SDK

I want to scan a static UIImage using Zbar sdk, it gives error i.e. ZBarSymbol is Null I also checked ZBarReaderController: UIImagePickerController But as it is subclass of UIImagePickerController and i don't want to use UIImagePickerController…
Baig
  • 4,737
  • 1
  • 32
  • 47
1
vote
1 answer

iOS iPhone ZBar cannot scan EAN13+2

I am using ZBar SDK 1.3.1 and installed it using CocoaPods and my app is built for base SDK 5.0. Trying to scan barcodes with format EAN13+2 (EAN13 plus two digit add on, more info) I experience some issues. Before updating to 1.3.1 to support…
joacar
  • 891
  • 11
  • 28
1
vote
1 answer

Zbar Barcode Scanner compile error with PhoneGap

I'm having a problem getting my PhoneGap 3.2.0 app to compile on Mac when the Zbar barcode scanner plugin is implemented. It will compile within XCode if I deploy to the device, but to a simulated device, it gives the error: Ld …
David Welsh
  • 119
  • 4
  • 10
1
vote
3 answers

zbar sdk view third party library error in Xcode 5

I am using z bar SDK in x code 5 when i am archiving its getting following errors Undefined symbols for architecture armv7: "_CMSampleBufferGetImageBuffer", referenced from: -[ZBarCaptureReader…
1
vote
0 answers

I am using ZBar Bar Code Reader and want to customize the camera view for android

I am using ZBar Bar Code Reader and want to customize the camera view for android. How can I put my view on top of it (with a transparent box in the centre & 60% opaque area around ) for the camera? but ZBar API for Android is totally different and…
AbhinayMe
  • 2,399
  • 1
  • 20
  • 21
1
vote
0 answers

zBar sdk not scaning VIN code

I am using zBAr SDK to scan VIN code. I am following the zBar's tutorial to set scan symbology of Code_39. Each time I run the app it says "the image picker failing to read". I am using the following code [reader1.scanner setSymbology:…
1
vote
1 answer

ZBar remove info button (ios 6)

How to I remove the information button from the toolbar at the bottom screen (reader screen).I have tried the using the overlay method but it didn't work. Hope someone would save me. Thanks -(void)viewDidLoad { [super viewDidLoad]; // Do…
Billy
  • 111
  • 1
  • 3
1
vote
2 answers

ZBarSDK not reading QR Code with non white background

ZBarSDK is working fine for normal QRCode images, code with black color on white background, but it is not detecting QRCode images with code in white on dark color background?
user
  • 221
  • 1
  • 2
  • 11
1
vote
1 answer

Zbar sdk not working for small screen android devices

I am having problems with using Zbar sdk for scanning qr codes in small screen mobiles of Android. The problem is that it couldnt scan the image. So I wanted to know all the limitations of Zbar sdk for Android. I tried to search it on internet and…
Name is Nilay
  • 2,743
  • 4
  • 35
  • 77
1
vote
1 answer

how to make a view not programmatically as cameraoverlay view

I need to create a cameraoverlay view(to add on ZBar sdk reader), my question is how can I create all objects I need not programmatically. right now I create all objects programmatically and then add them to myView, and use myView as cameraoverlay…
1
vote
1 answer

Not dismiss ZBarReaderViewController in imagePickerController didFinishPickingMediaWithInfo?

I want to create application for Scan Books barcode , but when I can scan barcode successfully , then ZBarReaderViewController not dismiss in imagePickerController didFinishPickingMediaWithInfo delegate and I getting warning : Warning: Attempt to…
vijay
  • 1,235
  • 1
  • 11
  • 32
1
vote
2 answers

how to change default cancel,info button in zbar sdk in iphone

When we press on button to scan QR code there is default cancel,info button. I require another button that on flash.So how can i change in zbaerviewcontroller to customize it.
user2071201
  • 101
  • 1
  • 2
  • 5