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
2
votes
2 answers

ZBar for landscape orientation in iPad

I've worked on the Zbar in iPhone and also in iPad, it works fine without any issues, but not with the landscape mode in iPad. When I present the ZBarReaderViewController in iPad with a popover in landscape mode, the view is 90 degree shifted as in…
Ananth
  • 815
  • 9
  • 26
2
votes
3 answers

Save the current time when event is performed

In my app i am using zbar sdk to scan ticket and i want to save current time in sqlite when the camera takes the shot . How can i do this. Thanks in advance.
iPhone Programmatically
  • 1,211
  • 2
  • 22
  • 54
2
votes
2 answers

Fetch image from library and scan through QR code

I am using QR code sdk to scan for QR codes, but problem is that it is working on camera not on simulator. I tried a lot over the net but doesn't find any perfect working solution. Can anyone guide me for this. Thanks in advance.
iPhone Programmatically
  • 1,211
  • 2
  • 22
  • 54
2
votes
1 answer

Android CameraView starts in low resolution on Samsung Galaxy S2

I have a FrameLayout in one of my screens. I refer to it in my code like this: preview = (FrameLayout)findViewById(R.id.preview); And I am embedding a CameraPreview object(extends SurfaceView, from the ZBar SDK for QR parsing) in the FrameLayout…
kumar
  • 882
  • 2
  • 11
  • 19
2
votes
2 answers

zbarsdk ZBarReaderViewController - set full screen for ipad

I am not able to display the zbarsdk reader in full screen on iPad. It keeps showing in the top left hand corner. I have tried the following reader.wantsFullScreenLayout = YES; reader.cameraOverlayView.frame=CGRectMake(0, 0, X, Y); //X and Y are…
vedran
  • 1,145
  • 2
  • 13
  • 19
2
votes
1 answer

I can not use sourceType as UIImagePickerControllerSourceTypePhotoLibrary in ZBarSDK

I download ZBarSDK 1.2 in http://zbar.sourceforge.net/download.html It works well when I set the sourceType of ZBarReaderViewController as UIImagePickerControllerSourceTypeCamera. But when I set the sourceType as…
Boris Sun
  • 21
  • 2
1
vote
0 answers

Zbar Code128 decode wrong

I have a image below I'm using zbar to read the barcode zbarimg --version 0.10 zbarimg -d ./image.jpg CODE-128:10000400040021 scanned 1 barcode symbols from 1 images in 0.11 seconds Result is 10000400040021, but the correct barcode is…
ninja
  • 48
  • 1
  • 5
1
vote
1 answer

Replacement of Zbar SDK for IOS 11

I have an old IOS project in that developer used ZbarSDK. Because of some issues we have to stop the development of the project, but now we are starting the project again. The issue we are facing now is ZBAR doesnt support IOS 11. So can any one…
Sumeet
  • 111
  • 1
  • 16
1
vote
1 answer

Unable to read FNC1 character at the first position of a GS1 128 Barcode using Zbar library?

I have developed an application for barcode decoding in android using Google vision Library for GS1 data matrix and Zbar Library for GS1 128 barcode Unable to read FNC1 character at the first position of a GS1 128 Barcode using Zbar library. The…
Akash Dubey
  • 1,508
  • 17
  • 34
1
vote
1 answer

Extracting binary data from QR-code with zbar

I'm trying to extract binary data from QR-code with zbar (the QR-code was originally encoded using the iOS SDK passing a NSData object). Unfortunately the ZBarSymbol class only provides the content in a NSString member. Trying to extract a NSData…
Luca Carlon
  • 9,546
  • 13
  • 59
  • 91
1
vote
1 answer

swift: weak cannot be applied to an outlet

I am using libzBar for scanning QRCode in swift but I am getting these errors. . First error is about weak referencing and second is undeclared type. At first I thought I haven't included the ZBarReaderView.h but after checking the file Inspector…
Adnan Asghar
  • 341
  • 1
  • 3
  • 13
1
vote
0 answers

ZBar SDK iOS: How can I change cancel button text?

I'm trying to use ZBar SDK and It works perfectly My only question is how can I change the cancel button text to be multilanguage This is the code I'm using ZBarReaderViewController *codeReader = [ZBarReaderViewController…
1
vote
0 answers

Where I put zbar.jar when I have 2 modules depends on it?

I inherited an project that I imported to Android Studio. There's 3 modules (the app and 2 libraries). In the end of the conversion from Eclipse, both the app and one the libraries uses zbar.jar. After removing all other duplicates found, the last…
Fabricio Araujo
  • 3,810
  • 3
  • 28
  • 43
1
vote
1 answer

Issue with Zbar qr code scanner on Sony Phone

I am developing an android application that scans QR codes using the Zbar API. However upon testing, I have noticed that the application worked perfectly fine on Samsung, HTC and a chinese brand phone but not on a sony device(Xperia z1). What…
marchemike
  • 3,179
  • 13
  • 53
  • 96
1
vote
1 answer

iOS ZBarSDK how to detect when user dismiss QR Scanner (ViewController)

In my code, I initialize ZBarReaderViewController for qr scanning. I needed to detect when user quit the QR Scanning process without scanning any qr code. Is there any ways that I can know when user quit that process (by clicking on cancel button…
IssacZH.
  • 1,457
  • 3
  • 24
  • 54