如何进行条形码扫描 [英] How to do barcode scanning

查看:143
本文介绍了如何进行条形码扫描的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,

最近我一直在努力获取有关条形码阅读的更多信息,我发现了一些可以为我工作的软件。我不是这个领域的专家(还是:))所以如果你能帮助我,我会非常感激。我找到了两个SDK,都命名为Barcode Scanner SDK,一个来自Dynamsoft(我在这里找到了这个,在CodeProject上),一个来自Bytescout。还有另外一个看起来最有希望的第一眼, Ozeki Camera SDK (也可在CodeProject上找到)。

你们碰巧有任何这些sdks的经验吗?

任何帮助都会受到赞赏。

Hey guys,
recently i’ve been trying to get more information about barcode reading and I found some softwares that can work for me. I am not an expert (yet :) ) on this field so if you could help me, I’d be very grateful. I found two SDKs, both named as Barcode Scanner SDK, one from Dynamsoft (I found this here, on CodeProject) and one from Bytescout. And there is another one, that looks the most promising for the first glimpse, Ozeki Camera SDK (also found on CodeProject).
Do you guys happen to have any experience with any of these sdks?
Any help would be appreciated.

推荐答案

这是案例研究 [ ^ ]关于Avision如何采用Dynamsoft的条形码SDK与文档扫描仪捆绑在一起。你可以看到使用Dynamsoft条形码阅读器SDK非常简单:

Here is a case study[^] about how Avision adopts Dynamsoft's barcode SDK to bundle with document scanners. And you can see that the use of Dynamsoft barcode reader SDK is pretty simple:
private void btnReadBarcode_Click(object sender, EventArgs e)
{
    this.txtBarcode.Text = "";
    Result[] aryResult = this.dynamicDotNetTwain1.ReadBarcode(this.dynamicDotNetTwain1.CurrentImageIndexInBuffer, BarcodeFormat.All);
    StringBuilder strText = new StringBuilder();
    strText.AppendFormat(aryResult.Length + " total barcode" + (aryResult.Length == 1 ? "" : "s") + " found.\r\n");
    for (int i = 0; i < aryResult.Length; i++)
    {
        Result objResult = aryResult[i];
        strText.AppendFormat("      Result " + (i + 1) + "\r\n");
        strText.AppendFormat("      BarcodeFormat: " + objResult.BarcodeFormat.ToString() + "\r\n");
        strText.AppendFormat("      Text read: " + objResult.Text + "\r\n");
 
    }
    this.txtBarcode.Text = strText.ToString();
}


这篇关于如何进行条形码扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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