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!
问题:
回答1:
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
回答2:
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
回答3:
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.
回答4:
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.
回答5:
Use ZBAR its the best, we used it in our app www.infomq.com and its is really stable and scans reliably.
回答6:
Basically you want to use PDF417 which is a stacked linear barcode symbol. Check out the pdf417 decode on Sourceforge.