http://sourceforge.net/projects/zbar/

"Supports EAN/UPC, Code 128, Code 39, Interleaved 2 of 5 and QR Code. ... barcode images and using a video device (eg, webcam) as a barcode scanner."