在WPF .NET吧code阅读器 [英] .NET BarCode Reader in WPF

查看:239
本文介绍了在WPF .NET吧code阅读器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,看其是否可以读取条形码code在WPF应用程序,而无需使用任何第三方工具。我们建立使用WPF应用程序,他们都不愿意购买任何第三方设备读取吧code。有没有使用.NET API来读取WPF应用程序吧code数据的任何其他方式?

I am trying to see whether its possible to read the barcode in WPF Applications without using any 3rd party tools. We built an application using WPF and they are not willing to buy any third party devices to read the barcode. Is there any other way to read the barcode data in WPF Applications using .NET APIS?

注:我看到在.NET中的例子,但他们大多使用吧code阅读器的工具。我已经看到了Android的ZXing库的例子这是否与出样吧code阅读器或扫描器的工具。

任何意见或想法是极大的AP preciated。

Any ideas or thoughts is greatly appreciated.

谢谢, 拉梅什

推荐答案

为了缩短在评论中讨论,并有可能帮助其他人有类似的问题,我会在这里总结一下。

In order to shorten the discussion in comments and possibly help other people with similar problem, I will summarize it here.

这是我不清楚你是否想真正要问的问题是没有.NET提供酒吧code读取器类。如果是这样,答案是否定的。

It is not clear to me whether the real question you wanted to ask is "does .NET provide barcode reader class". If so, the answer is no.

现在,由于WPF应用程序只是一场普通的.NET应用程序,肯定是可以实现吧code读数没有第三方库。所有的算法都是公开的,有大量的开源实现,它可以作为参考,而.NET提供了所有你需要跟外围设备,获取图像,并分析它。你只是需要code吧。

Now, since WPF application is just a normal .NET application, for sure it is possible to implement barcode reading without 3rd party libraries. All the algorithms are public, there is plenty of open source implementation which can serve as reference, and .NET provides all you need to talk to the peripherals, acquire the image and analyze it. You "just" need to code it.

例如。有ZXing 的 C#端口,所以你可以看看(虽然它看起来像从Java自动翻译,所以我不希望在有很多地道的C#)。

E.g. there is a C# port of ZXing, so you can take a look (though it looks like automatic translation from Java, so I wouldn't expect much idiomatic C# in there).

您也提到,你的客户都不愿意购买任何第三方设备。我不知道'装置'是为了读图书馆。如果是这样,还有他们(或你)没有支付通常提供免版税许可证的开源库和商业组件(如的第一个,谷歌显示),这意味着只有你必须付出的开发许可证,但你的客户甚至不知道这件事。

You also mention that your customers "are not willing to buy any third party devices". I am not sure if 'devices' was meant to read 'libraries'. If so, there are open source libraries which they (or you) don't have to pay, and commercial components usually provide royalty free licenses (e.g. the first one that google showed), which means that only you have to pay the development license, but your customer doesn't even know about it.

这篇关于在WPF .NET吧code阅读器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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