Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to read 1D and 2D barcodes from pictures taken by a camera on a Windows 8.1 device into a .NET application.

There are big vendor names out there like rasteredge and aspose that have SDKs but they are expensive. There are also some libraries that are free on sourceforge.

Does anyone have experience with this? Do I shell out $2000 for a big vendor's product or is there a free library you've used that works great?

Thanks for your help,
Joel
Posted

Please see: http://bit.ly/1CRPvzh[^].
Some solutions will be proprietary but some are freeware (not so sure about open source; you can try to find it out yourself).

As bar code recognition is relatively simple, compared to most other recognition problems, it's not overly difficult to develop such recognition, but it still a lot of work. The idea is: contrast the picture, then perform blob recognition, try to interpret dark blobs as rectangles, and then figure out the bad code using positions and sizes of those rectangles (bars). The problem you may face will be the camera distortion. To go this way, I would recommend AForge.NET:
http://en.wikipedia.org/wiki/AForge.NET[^],
http://www.aforgenet.com[^].

In this library, blob recognition is very fast and accurate. You can start here: http://www.aforgenet.com/articles/shape_checker[^].

See also these CodeProject articles:
Scan Barcode from a Webcam in a WinForm/WPF Application[^],
Read Barcodes from an Image[^],
Reading Barcodes from an Image - II[^],
Reading Barcodes from an Image - III[^].

—SA
 
Share this answer
 
v3
Before making your decision, I suggest you should evaluate both paid (usually 30-day free trial) and free products to see whether they can satisfy your requirement, which is the key point that you should care about.

Here you can find some barcode demos in .Net :http://www.dynamsoft.com/Downloads/.Net-TWAIN-Sample-Download.aspx?Page=1&Tag=barcode[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900