简体   繁体   中英

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..

so in the bus there is KIOSK and also a barcode reader..When he get into the bus first he has to validate himself..

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. This toolkit gives you the ability to read\\write common barcodes. For more information, see the following link: 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.

(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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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