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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted May 8, 2020, 10:58 PM
Kip HackmanPosted May 8, 2020, 9:29 AM
Alex SmithPosted Jan 8, 2017, 9:22 PM
alice yangPosted Jan 8, 2017, 8:54 PM
Bikesh SrivastavaPosted Jan 7, 2017, 10:49 AM
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.
Ahmed AbdiPosted Jan 7, 2017, 6:36 AM