Barcode scanning in c sharp
Hey everyone, I am trying to develop an Inventory Management system in ASP.NET with Csharp and i would like to integrate barcode scanning but i don't know how to do it. I will appreciaate any help
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ahmed AbdiRank #1,099 · 1.7K reputationPosted Jan 7, 2017, 1:36 AM EST
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jan 7, 2017, 5:49 AM EST
There are two components to a barcode: 1) the image of the barcode itself and 2) the data that can be extracted from the barcode. iOS 7+ supports finding a barcode in an image and also extracting the data from that image without external libraries. There are many strong tutorials and answers related to barcode recognition but you are probably looking for this one:http://www.infragistics.com/community/blogs/torrey-betts/archive/2013/10/10/scanning-barcodes-with-ios-7-objective-c.aspx
I can think of two ways to achieve what you wish, capturing a barcode then displaying it on-screen: 1) crop the larger image where the barcode was detected so that only the barcode is left, then display that, or 2) once a barcode is detected create a new barcode. The advantage of the first method is you can crop slightly larger so the barcode will clearly appear like the original but any imperfections (stains, shadows, etc...) will be left. The advantage of the second is you will have a crystal clear barcode but the user experience might appear a little disjointed (or it may look like magic: you'll have "cleaned up" a smudged barcode). Choosing one depends on the type of user experience you wish for.
alice yangRank #2,329 · 607 reputationPosted Jan 8, 2017, 3:54 PM EST
Alex SmithRank #4,089 · 366 reputationPosted Jan 8, 2017, 4:22 PM EST
Kip HackmanRank #2,595 · 536 reputationPosted May 8, 2020, 5:29 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted May 8, 2020, 6:58 PM EDT