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开发者_JS百科 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.
精彩评论