条形码阅读器 - 从相机 [英] Barcode Reader - From Camera

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

问题描述

我需要将Windows 8.1设备上的相机拍摄的照片中的1D和2D条形码读取到.NET应用程序中。



有很多大型供应商名称,比如rasteredge和aspose,它们都有SDK,但价格昂贵。还有一些库在sourceforge上是免费的。



有没有人有这方面的经验?我是否为一家大型供应商的产品支付了2000美元,还是有一个你用过的免费图书馆效果很好?



感谢您的帮助,

Joel

解决方案

2000 for a大供应商的产品还是有一个你用过的免费图书馆效果很好?



感谢您的帮助,

Joel


请参阅: http://bit.ly/1CRPvzh [ ^ ]。

有些解决方案是专有的,但有些是免费软件(不太确定开源;你可以尝试自己找出来)。



由于条形码识别相对简单,与大多数其他识别问题相比,开发此类识别并不是太困难,但仍然需要做很多工作。想法是:对比图片,然后执行blob识别,尝试将黑色斑点解释为矩形,然后使用这些矩形(条形)的位置和大小找出不良代码。您可能遇到的问题是相机失真。为此,我建议AForge.NET:

http://en.wikipedia。 org / wiki / AForge.NET [ ^ ],

http://www.aforgenet.com [ ^ ]。



在这个库中,blob识别非常快,准确。你可以从这里开始: http://www.aforgenet.com/articles/shape_checker [ ^ ]。



参见这些CodeProject文章:

从WinForm / WPF应用程序中的网络摄像头扫描条形码 [ ^ ],

从图像中读取条形码 [ ^ ],

从图像中读取条形码 - II [ ^ ],

从图像中读取条形码 - III [ ^ ]。



-SA


在做出决定之前,我建议您应该评估付费(通常是30天免费试用)和免费产品,看看它们是否能满足您的要求,这是您应该关注的关键点。



在这里您可以找到.Net中的一些条形码演示: http://www.dynamsoft.com/Downloads/.Net-TWAIN-Sample-Download.aspx?Page=1&Tag=barcode [< a href =http://www.dynamsoft.com/Downloads/.Net-TWAIN-Sample-Download.aspx?Page=1&Tag=barcodetarget =_ blanktitle =New Window> ^

I need to read 1D and 2D barcodes from pictures taken by a camera on a Windows 8.1 device into a .NET application.

There are big vendor names out there like rasteredge and aspose that have SDKs but they are expensive. There are also some libraries that are free on sourceforge.

Does anyone have experience with this? Do I shell out $2000 for a big vendor's product or is there a free library you've used that works great?

Thanks for your help,
Joel

解决方案

2000 for a big vendor's product or is there a free library you've used that works great?

Thanks for your help,
Joel


Please see: http://bit.ly/1CRPvzh[^].
Some solutions will be proprietary but some are freeware (not so sure about open source; you can try to find it out yourself).

As bar code recognition is relatively simple, compared to most other recognition problems, it's not overly difficult to develop such recognition, but it still a lot of work. The idea is: contrast the picture, then perform blob recognition, try to interpret dark blobs as rectangles, and then figure out the bad code using positions and sizes of those rectangles (bars). The problem you may face will be the camera distortion. To go this way, I would recommend AForge.NET:
http://en.wikipedia.org/wiki/AForge.NET[^],
http://www.aforgenet.com[^].

In this library, blob recognition is very fast and accurate. You can start here: http://www.aforgenet.com/articles/shape_checker[^].

See also these CodeProject articles:
Scan Barcode from a Webcam in a WinForm/WPF Application[^],
Read Barcodes from an Image[^],
Reading Barcodes from an Image - II[^],
Reading Barcodes from an Image - III[^].

—SA


Before making your decision, I suggest you should evaluate both paid (usually 30-day free trial) and free products to see whether they can satisfy your requirement, which is the key point that you should care about.

Here you can find some barcode demos in .Net :http://www.dynamsoft.com/Downloads/.Net-TWAIN-Sample-Download.aspx?Page=1&Tag=barcode[^]


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

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