如何从图像读取酒吧code [英] How to read a barcode from an image

查看:163
本文介绍了如何从图像读取酒吧code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找关于如何阅读 EAN-13 酒吧code(包括 ISBN ISSN 编码)。
图像将来自移动电话或网络摄像头,这样的分辨率可能相当差,不能很好地保持一致。

我的东西,可以从红宝石被用于在轨道上特别感兴趣,但对其他语言的答案,欢迎。开源解决方案preferred。

领先的解决方案日:


  1. href=\"http://zbar.sourceforge.net/\" rel=\"nofollow\"> ZBar (previously称为斑马 - H / T @bgbg,@Natim) - 接口ç
  2. ZXing (H / T @codr) - 用Java实现(J2SE和Android)与其他模块/在不同的发展状态端口(的JavaME,C#,C ++,JRuby的,RIM,iPhone /目标C)


解决方案

这个项目可能是你正在寻找什么: ZXing

I'm seeking a library, technique or advice on how to read an EAN-13 barcode from an image (including ISBN,and ISSN encodings). The image would come from a mobile phone or webcam, so resolution may be quite poor and not well aligned.

I'm specifically interested in something that could be used from ruby on rails, but answers for other languages are welcome. Open Source solutions preferred.

Leading solutions to date:

  1. ZBar (previously known as Zebra - h/t @bgbg, @Natim) - implemented in C with interfaces for Python, Perl, and C++
  2. ZXing (h/t @codr) - implemented in Java (J2SE and Android) with other modules/ports in varying states of development (JavaME, C#, C++, JRuby, RIM, iPhone/Objective C)

解决方案

This project might be what you're looking for: ZXing

这篇关于如何从图像读取酒吧code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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