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

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...

Double check that the scanner is configure for reading QR codes. Check my example below:
ZBarImageScanner *scanner = reader.scanner;
[scanner setSymbology:ZBAR_QRCODE
config:ZBAR_CFG_ENABLE
to:1];

i have use zbar Api for the UPC barcode scanning and its working very fine follow the below tutorial in ios 5 .please refer it and try it i have tested in devices its working well .
http://iphonenativeapp.blogspot.in/2011/07/qr-code-readerscanner-for-iphone-app-in.html
Thanks

This may be because of the data that you are encoding in QRCode. In Barcode it will be a number always, but in QR code code it is not like that. Try to store the data in a string and log the string.

Related

QR Reader in iphone/ipad

I have one application in which I want to scan QR code + bar codes on food packets for 1 store. I have tried ZBar reader for bar code scanning. It is working perfectly. Now I want to scan QR code also. For that I have searched and downloaded sample code. But all are not proper. Can anybody help?
If You want to read QRCode use Zbar sdk
try this
ZBarImageScanner *scanner = reader.scanner;
[scanner setSymbology:ZBAR_QRCODE
config:ZBAR_CFG_ENABLE
to:1];
Megha:Zbar SDK is best for bar code and QR Code Scanner
u have to try this link
https://github.com/a2n/zbar-iphone-example
i have also tried this in My Application and its working perfect.
There are 40 versions of QR code.
I am sure ZDBar SDK scans version 1 QRCode I have used it successfully.Check the documentation to verify the other supproted versions.
Have yo identified the version of QR codes you want to support ?
Cheers
i have used this http://zbar.sourceforge.net/iphone/sdkdoc/install.html in many of my applications to read qr codes,bar codes,UPC codes sucessfully
zxing has an iphone port for qr code reading

Does zbar supports ipod touch?

I am working on an barcode reader app which currently uses zbar sdk, i works like magic on iphone 4G but does it also works with ipod touch?????
if it does'nt then is that any other api which supports barcode reader in ipod touch.
Thanks
Yes it does. For QR codes its quite fast. But for UPC, you may have to be a bit specific about the distance from where you are scanning though(scan from 30cms). Read this for further info.

creating QR code using zbar sdk for iphone

ZBAR sdk is normally used to read QRcode or barcode & convert it to user data. Can we use ZBAR API to create QRcode for iphone?
As far I know Zbar SDK can only be used to read.
Maybe this link will be of some help.
onbarcode
https://github.com/myang-git/QR-Code-Encoder-for-Objective-C worked well to generate QR Codes even with much content and UTF-8 characters (where some other generators I tried failed). The project is active and Apache 2.0 licensed.

Enhanced iOS barcode scanner library?

We're creating an iOS app that basically scans badges at events and collects contact info. We're looking for an iOS library that can read not only the number of the barcode, but also any additional information that's included (contact info). Does anyone have any library suggestions or will this have to be a custom library? Thanks in advance!
Updated:
Use AVCaptureMetaDataOutput in AVFoundation which works with minimum deployment target iOS 7.
Previous Answer:
Have been using ZBar SDK in most of our projects. Picks up barcode and scans very fast, easy to customize focus area from SDK. Tested on iPhone 3GS, iPhone4/4S, iPhone 5 and iPad
https://codeload.github.com/cgreening/BarCodeExample/zip/master
iOS7 has built in functionality scanning BarCodes not sepearate sdk is required; if your deployment target is iOS7
Is your barcode format up to you, or do you have a predetermined symbology you have to work with?
There is this: http://shopsavvy.mobi/sdk/. Don't know why that wouldn't work for you, unless you object to the licensing terms.
Checkout ZXing ("Zebra Crossing") at http://code.google.com/p/zxing/
Reads almost every kind of barcodes and we used it with great success previously.
Use ZBAR its the best, we used it in our app www.infomq.com and its is really stable and scans reliably.
Basically you want to use PDF417 which is a stacked linear barcode symbol. Check out the pdf417 decode on Sourceforge.

Adding QRcode reading functionality to a native iPhone app

Can anyone point me in the right direction for information or tutorials for adding a QRcode reader to a native iPhone app?
Thanks in advance.
Get the ZBar iPhone SDK
http://zbar.sourceforge.net/iphone/index.html
ZXing (http://code.google.com/p/zxing/) and ZBar (above) are the ones heard about most. ZBar is LGPL 2.1, ZXing is Apache 2.
http://code.google.com/p/zxing/source/browse/trunk/iphone/README describes integrating the provided widget into an Xcode project.