简体   繁体   English

ASP.net C#图像处理

[英]ASP.net C# image processing

I am designing a website for PUBLIC TRANSPORT TICKETING SYSTEM using ASP.NET c# and MSSQL..So when a customer registers in the site, I want to send SMS with a barcode to him to use that in the bus to validate him.. 我正在使用ASP.NET c#和MSSQL设计公共交通票务系统的网站。所以当客户在网站上注册时,我想发送带有条形码的短信给他,以便在公交车上使用它来验证他。

so in the bus there is KIOSK and also a barcode reader..When he get into the bus first he has to validate himself.. 所以在公共汽车上有KIOSK和条形码阅读器。当他第一次上车时,他必须验证自己..

So i want to implement this : when the passenger shows the image of the barcode in his mobile the barcode should compare it with the database and if it's validated proceed if not give an error message.. 所以我想实现这一点:当乘客在他的手机中显示条形码的图像时,条形码应该将其与数据库进行比较,如果已经过验证,则继续进行,如果没有给出错误消息。

plz consider my question and kind be enough to reply.. Thank alot.. 请考虑我的问题和善意足以回复..谢谢很多..

Usually barcodes are compared as strings, not as images. 通常条形码被比较为字符串,而不是图像。 Note that it's not recommended to store the barcode as image in the database. 请注意,建议不要将条形码存储为数据库中的图像。 You simply can store the barcode value (string) in the database and compare it with the barcode recognition result. 您只需将条形码值(字符串)存储在数据库中,并将其与条形码识别结果进行比较。 We currently generate barcodes (Code 93) using a 3rd party toolkit named leadtools. 我们目前使用名为leadtools的第三方工具包生成条形码(代码93)。 This toolkit gives you the ability to read\\write common barcodes. 此工具包使您能够读取\\ write常用条形码。 For more information, see the following link: http://www.leadtools.com/help/leadtools/v175/dh/to/leadtools.topics.barcode~ba.topics.programmingwithleadtoolsbarcode.html 有关更多信息,请参阅以下链接: http//www.leadtools.com/help/leadtools/v175/dh/to/leadtools.topics.barcode〜ba.topics.programmingwithleadtoolsbarcode.html

Barcodes are NOT generally implemented by image comparison. 条形码通常不通过图像比较来实现。

Rather, the barcode evaluates to a string or number, which is then a PK into a backend database somewhere. 相反,条形码评估为字符串或数字,然后将PK作为某个后端数据库中的PK。

(Eg, check on any product in your kitchen pantry. The barcode will often have a human-readable version of the number that the barcode represents, written below the barcode). (例如,检查厨房食品室中的任何产品。条形码通常具有条形码所代表的数字的人类可读版本,写在条形码下方)。

You've specified there's a barcode reader in place... This will do the "heavy lifting" of reading the barcode and passing the resultant string/number into the system. 你已经指定了一个条形码阅读器......这将“读取条形码”并将结果字符串/数字传递到系统中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM