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