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
28
votes
9 answers

Zbar SDK is not working in iOS6

I was using ZBar for scanning in iOS5 and it was working well. Now after updating to iOS6, its not working. It shows a following error. ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/mac4/Desktop/my desktop/My…
sathiamoorthy
  • 1,488
  • 1
  • 13
  • 23
19
votes
1 answer

What is the maximum length of a Code 128 barcode?

I need to create a Code 128 barcode with a maximum of 44 characters. What is the maximum number of characters supported by the Code 128 barcode format? I came to know that Code 128 can encode all 128 characters of ASCII, but I cannot determine the…
Divya
  • 555
  • 1
  • 4
  • 15
14
votes
3 answers

How to configure iOS app to work on specific devices?

I am developing iOS app with ZBar SDK for QR-codes scan. Here ZBar SDK creators tell us that Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely…
Maksim
  • 2,054
  • 3
  • 17
  • 33
13
votes
4 answers

ZBar vs. zxing - QR recognition comparison

Can anyone tell which library is better in small QR Codes recognition under low lighting conditions? Platform is iPhone 4/iOS 5 I tried both Barcodes (zxing) and the ZBar apps and it seems that zxing was noticeably better in recognizing the codes…
atyachin
  • 1,103
  • 1
  • 12
  • 14
13
votes
1 answer

How to change area of scan Zbar?

I want to change the area of camera scan. Now I take image to scan as big as screen of device. I'm trying to crop image to analyze. So just the center of preview will be source to scan. Is there any option to set captured preview to be smaller or…
user2245026
  • 153
  • 3
  • 8
12
votes
1 answer

Can't turn off gcc optimizer, Makefile from automake

I am trying to get ZBar in a debug session. I am able to do so, but I can't get the optimizer to turn off, so my debug session jumps around unexpectedly and many variables are labeled as optimized-out in Eclipse Indigo. I am running in Ubuntu. I…
vlad417
  • 313
  • 1
  • 3
  • 10
10
votes
6 answers

zbar SDK dont work for armv7s(iPad 4 iOS 7)

I replace zBar SDK in my project and faced with the problem. ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Volumes/ZBarSDK/ZBarSDK/libzbar.a file '/Volumes/ZBarSDK/ZBarSDK/libzbar.a' for architecture armv7s clang: error:…
user2393695
  • 241
  • 3
  • 7
10
votes
3 answers

ZBar memory leak on iOS?

I am very satisfied with ZBar scanning performance, however I ran into a big problem on a project that runs under ARC if that counts at all. Namely, it seems that there is a serious memory leak that rises exponentially with each and every new…
mbpro
  • 2,460
  • 3
  • 22
  • 37
9
votes
3 answers

How to build ZBar SDK with the project instead of using the static library?

I am building an iOS, code scanner project using ZBar SDK. I am trying to build my project directly from the source of ZBar, rather than including the libzbar.a static library. I have downloaded the ZBar source which includes the XCode project to…
Vin
  • 10,517
  • 10
  • 58
  • 71
9
votes
3 answers

ZBAR barcode scanning library not working when using target sdk version 23 in gradle

I am using zbar scanner library in my project. After updating to sdk 23 Marshmallow scanner is not working. Following is the gradle file. Scanner is working if I set targetSdkVersion anything other than 23. Following is the gradle file: apply…
alphanso
  • 409
  • 5
  • 22
9
votes
2 answers

ZBar SDK and camera not working properly in iOS 8

I have my app integrated with ZBar. It is working perfectly in iOS 7.1 and below, but in iOS 8.0 devices I find that the camera view is firstly shown in black. However, if I send the app to background state and I send it to foreground again, having…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
9
votes
6 answers

Zbar SDK - missing required architecture x86_64

I had one problem during building application in the recent Xcode 5.1. Compilation fails with "Undefined symbols for architecture x86_64" error. I build my project with Valid Architecture: armv7, armv7s and arm64. After switch to the newest…
mbutan
  • 1,359
  • 2
  • 13
  • 23
9
votes
4 answers

ZBar - QR Code Scanner, crashing in Android Studio

I have downloaded from git latest zBar QR Code Scanner (SDK 0.2). I am trying to implement it in my application. I work on Android Studio. What have I done: I have copied zBar.jar to libs folder of my Project. I have created *.jar files from…
F1sher
  • 7,140
  • 11
  • 48
  • 85
8
votes
7 answers

ZBar with iOS7 and XCode5 compiling error libzbar.a architecture

just got some errors runnign ZBar with my iOS App. I included the newest Beta Version 1.3.1 in my Project and am Running the App locally on my iOS7 Device (iPhone 5). When trying to archive it for Distribution, there is the error with arm64. I've…
ahmet2106
  • 4,957
  • 4
  • 27
  • 38
8
votes
4 answers

Linker Error in Xcode 5 for libzbar.a

After I integrate ZBar Sdk into my project, my xcode 5-DP starts showing below warning: "ld: warning: linking ObjC for iOS Simulator, but object file (/Documents/Projects/Project/Utility/ZBarSDK/libzbar.a(ZBarReaderViewController.o)) was compiled…
Pankti Patel
  • 296
  • 1
  • 4
  • 14
1
2 3
14 15