通过 C# 中的网络摄像头读取条码(WPF 或 ASP.Net/Silverlight)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25859341/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Barcode Reader thru Webcam in C# (WPF or ASP.Net/Silverlight)
提问by Hecchi Aves
I have a bit of a problem. I was researching for a good 3rd party application that will let me read Barcode (128) specifically but I notice most of it has a licensce that is needed to be bought.
我有点问题。我正在研究一个好的 3rd 方应用程序,它可以让我专门阅读条形码 (128),但我注意到其中大部分都有需要购买的许可证。
.NET BarCode Reader in WPFFrom this conversation, I know .Net does not have any class for support but my question are there a free 3rd Party Application or can I just do my own?
WPF 中的 .NET 条码阅读器从这次对话中,我知道 .Net 没有任何支持类,但我的问题是有免费的第 3 方应用程序还是我可以自己做?
I did not get how she did it but someting like this reading a barcode with a webcam
我不明白她是怎么做到的,但就像这样 用网络摄像头读取条码
In the end I want to make an application similar to this (It is using silverlight) https://www.vintasoft.com/Silverlight_Webcam_Barcode_Reader_Demo.html
最后我想做一个类似于这个的应用程序(它使用的是silverlight) https://www.vintasoft.com/Silverlight_Webcam_Barcode_Reader_Demo.html
But if you will try the demo, the last three barcode numbers will be asterisk. Because I need to buy to licensce to get full :(
但如果您尝试演示,最后三个条形码数字将是星号。因为我需要购买许可证才能获得完整:(
Thanks for those who can help
感谢那些可以提供帮助的人
回答by user946106
Step 1: Use WPF MediaKitfor capturing barcode using device camera.
步骤 1:WPF MediaKit用于使用设备摄像头捕获条码。
step 2: Use Zxingfor parsing that barcode image.
第 2 步:Zxing用于解析该条码图像。

