增强的 iOS 条码扫描器库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5569867/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 19:29:29  来源:igfitidea点击:

Enhanced iOS barcode scanner library?

iphoneiosbarcodebarcode-scanner

提问by user695250

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!

我们正在创建一个 iOS 应用程序,它基本上可以在活动中扫描徽章并收集联系信息。我们正在寻找一个 iOS 库,它不仅可以读取条形码的编号,还可以读取包含的任何其他信息(联系信息)。有没有人有任何图书馆建议,或者这必须是一个自定义图书馆?提前致谢!

回答by 0x8badf00d

Updated:

更新:

Use AVCaptureMetaDataOutput in AVFoundation which works with minimum deployment target iOS 7.

在 AVFoundation 中使用 AVCaptureMetaDataOutput,它适用于最低部署目标 iOS 7。

Previous Answer:

上一个答案:

Have been using ZBar SDKin 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

在我们的大部分项目中都使用了ZBar SDK。拾取条码和扫描速度非常快,易于从 SDK 自定义焦点区域。在 iPhone 3GS、iPhone4/4S、iPhone 5 和 iPad 上测试

回答by ???

https://codeload.github.com/cgreening/BarCodeExample/zip/master

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

iOS7 内置扫描条码功能,不需要单独的sdk;如果您的部署目标是 iOS7

回答by Ben Collins

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.

有这个:http: //shopsavvy.mobi/sdk/。不知道为什么这对您不起作用,除非您反对许可条款。

回答by Sunny

Use ZBAR its the best, we used it in our app www.infomq.comand its is really stable and scans reliably.

使用 ZBAR 是最好的,我们在我们的应用程序www.infomq.com 中使用了它,它非常稳定并且扫描可靠。

回答by Jan Gressmann

Checkout ZXing ("Zebra Crossing") at http://code.google.com/p/zxing/

http://code.google.com/p/zxing/查看 ZXing(“斑马线”)

Reads almost every kind of barcodes and we used it with great success previously.

几乎可以读取所有类型的条码,我们之前使用它取得了巨大成功。

回答by Black Frog

Basically you want to use PDF417which is a stacked linear barcode symbol. Check out the pdf417 decodeon Sourceforge.

基本上你想使用PDF417,它是一个堆叠的线性条码符号。查看Sourceforge 上的pdf417 解码