One day I read an article about reading barcode using my webcam in Ubuntu 12.04 by a some software which I don't remember now.
Can anybody help?
What software could help me by reading a barcode using a webcam?
Reading barcodes with a USB webcam on Ubuntu?
OK. Follow these steps...
First, installed Zbar and a little program called "crikey". The easy way. Open a terminal and type in:
The script does this, for the more paranoid:
Now hook up your USB webcam.
Is your USB webcam supported by V4L1 (Video4Linux1)? Then, open again a terminal and type in:
Now open Google or a Gedit instance, clic inside the search box, and put a barcode in front of your USB webcam. Focus in the barcode, as necessary. You will get the barcode number where you have clicked on before...
Is your USB webcam suported by V4L2 (Video4Linux2)? Then, open a terminal and type in:
If the above commands don't work, try "video1", instead of "video0"
ZBar is a library for scanning and decoding bar codes from various sources such as video streams, image files or raw intensity sensors.
It supports EAN,UPC, Code 128, Code 39 and Interleaved 2 of 5.
This package contains basic applications for decoding captured bar code images and using a video4linux device (e.g. webcam) as a bar code scanner.
referred from this link
You can also use qrdecoder
Install Python 2.7
Install Python Imaging Library (PIL)
Download and unpack qrDecode source tarball to any directory.
Where x.x.x is the version of qrdecoder
Unpack the tarball.
Change into the qrDecoder directory.
You may get an error Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"
To get rid of this error, install gtk2-engines-pixbuf