iPhone简单的商业条形码阅读器通过相机 [英] iPhone simple commercial barcode reader via camera

查看:93
本文介绍了iPhone简单的商业条形码阅读器通过相机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

iOS是否有条形码识别框架?

我已经完成了一些iPhone编程(安全中级),现在我们需要编写一个使用iPhone摄像头的条形码阅读器。这不适用于购物或普通大众,但仅供内部使用。我的第一个想法是简单地以编程方式拍照,将其上传到服务器,并使用Web服务或类似的东西处理从条形码中提取数字的繁重工作。但是我最近在iPhone上安装了一些可以读取条形码的应用程序,引导您到购物网站等,他们似乎使用摄像机来识别条形码并提取数字。有谁知道这是怎么做的或者可以指向一些开源或示例代码?

I've done some iPhone programming (safely midlevel) and now a requirement has come up for us to write a barcode reader that uses the iPhone camera. This is not for shopping or the general public but will be for internal use. My first thought was to simply programatically take a picture, upload it to server, and have a web service or something similar handle the heavy lifting of extracting the numbers out of the bar code. However I recently installed some apps already available on the iPhone that read bar codes, refer you to shopping sites, etc. and they seem to use the video camera to identify barcodes and extract the numbers. Does anyone know how this is being done or could point me to some open source or sample code?

推荐答案

这看起来很有用:

http://sourceforge.net/apps/mediawiki/zbar/index.php?title= HOWTO:_Add_a_barcode_reader_to_an_iPhone_app

这篇关于iPhone简单的商业条形码阅读器通过相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆