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

Using ZBar to scan VIN barcodes adds extra "I" character

I am using ZBar iOS SDK to scan VIN barcodes on an app. But it sometimes adds an extra "I" character in front of the VIN and omits the last character. Also, I am using CODE 39 symbology. Is that correct or will I have to change it?
ilight
  • 1,622
  • 2
  • 22
  • 44
3
votes
2 answers

ZBarReaderView with custom size from storyboard moving after start is called

i've got a ZBarReaderView created from storyboard with 216x20 px which is shown as roughly 230x50 px because ZBarReaderView doesn't take it's size too serious... It all works very well, however it behaves really strange when I call start on that…
LNS
  • 43
  • 7
3
votes
1 answer

Barcode Reader using zbar sdk

I am working in barcode reader. I am using Zbar Sdk for read a barcode.My problem is that, very small barcode are not read. I am confusing about : Is this a camera problem (iPad 2) or sdk problem plz suggest me. Thanx
Sam007
  • 1,385
  • 3
  • 17
  • 32
3
votes
3 answers

ZBAR sdk not detecting QRCODES on iPhone 4s (ios 5.1)...?

I have integrated the ZBAR sdk in my project and it is working fine for barcodes but it is not detecting the QRCodes. I am using the iPhone 4s and I don't have any other device.. is this a known issue..? I am using the ZBarReaderViewController...
Ankit Srivastava
  • 12,347
  • 11
  • 63
  • 115
2
votes
0 answers

using opencv instead of imagemagick in zbar qr code decoder

I am writing a qr code decoder using Zbar api. I am using windows pre built libraries . I used the following code to load the image to ZBar IplImage *src=cvLoadImage("image.png",CV_LOAD_IMAGE_GRAYSCALE); ImageScanner…
Senan
  • 411
  • 2
  • 6
  • 16
2
votes
1 answer

How to crop scanned barcode using Zbar?

I am using below code to scan bar code using Zbar sdk. I go through related question of stackoverflow but that answer is not working for me. Till now I have done, -(IBAction)btnCLick { ZBarReaderViewController *reader =…
Heena
  • 2,348
  • 3
  • 32
  • 58
2
votes
2 answers

Zbar camera view border color

I'm using Zbar qr and bar code recongnition tool in my app. I've recompiled the framework to support iPad screen size as well, but now I get is the redish and bluish rectangle around camera view. Any ideas how get reed of it ?
deimus
  • 9,565
  • 12
  • 63
  • 107
2
votes
1 answer

Zbar wantsFullScreenLayout=NO maked imagePickerView to shift

This may sound a newbie question, however I'm new to iOS dev, I'm using Zbar QR code scanner in my app. I've setting wantsFullScreenLayout = NO; so the status bar becomes visible. But the int the result I'm getting the ImagePickerView of Zbar…
deimus
  • 9,565
  • 12
  • 63
  • 107
2
votes
1 answer

Customization of scanning page in zbar application

I am working on an application that scans the QR codes.When the scan button is clicked,it goes to the generic full page camera view.But i need to customize that page so that a logo must be shown at the bottom and a button at the top.the scanning…
iOS Developer
  • 1,723
  • 2
  • 16
  • 47
2
votes
2 answers

iPhone iOS: Can you add crosshairs or other visual indicator to ZBar barcode scanning?

I want to know if it is possible when using Zbar barcode scanning within an iPhone/iOS app to add some sort or crosshairs or other visual indicator to the screen to assist users in aiming their camera onto a QR code?
gonzobrains
  • 7,856
  • 14
  • 81
  • 132
2
votes
0 answers

Cannot load library: find_library[1201]: 1192 'libzbarjni.so' failed to load previously

This problem occurs in pre-lollipop devices only. For higher versions it works as expected. Below is the full log: FATAL EXCEPTION: main java.lang.ExceptionInInitializerError at java.lang.Class.newInstanceImpl(Native Method) at…
2
votes
1 answer

Using zbar sdk and converting to swift 3, will it work?

I'm planning to convert the code to Swift 3 in xCode 8, but I'm hesitant to do so, because of the frameworks I use, especially ZBar SDK (I'm getting it with CocoaPods). Does anyone know, if the conversion can make this (or other) framework unusable?
veit270
  • 109
  • 1
  • 2
  • 9
2
votes
0 answers

Reading Bitmap images with ZBar

In my android app, I'm using an USB camera as image capturing method. For that I'm using UVCCamera library. Idea behind this is to read barcodes with this cameta, hence from this input, Bitmap is created and it will be decoded with ZBar library But…
KTB
  • 1,499
  • 6
  • 27
  • 43
2
votes
1 answer

Crash on ZBarSymbolSet

I have been using the Zbar SDK (1.2) in my project. This is the crash reported by many users from last 8-9 months: Message = * Terminating app due to uncaught exception 'NSGenericException', reason: '* Collection was mutated while being…
iGW
  • 633
  • 5
  • 14
2
votes
1 answer

zbar and reading 2D barcode doesn't work

I adjust the scanner using the following parametes scanner.setConfig(0, Config.X_DENSITY, 400); scanner.setConfig(0, Config.Y_DENSITY, 400); scanner.setConfig(Symbol.CODABAR , Config.ENABLE , 1) ; scanner.setConfig(Symbol.EAN8…
AMH
  • 6,363
  • 27
  • 84
  • 135