Friday, May 3, 2024
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 18682  / 3 Years ago, sat, september 25, 2021, 1:10:31

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?


More From » software-recommendation

 Answers
5

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



sudo apt-get install libzbar0
sudo apt-get install libv4lconvert
sudo apt-get install zbar-tools


You can also use qrdecoder



Install Python 2.7



sudo apt-get install python2.7


Install Python Imaging Library (PIL)



sudo apt-get install python-imaging


Install PyQt4.



sudo apt-get install python-qt4


Install zbar.



sudo apt-get install python-zbar


Download and unpack qrDecode source tarball to any directory.



wget http://qrdecoder.googlecode.com/files/qrdecoder-x.x.x.tar.gz


Where x.x.x is the version of qrdecoder



Unpack the tarball.



tar -xvf qrdecoder-x.x.x.tar.gz


Change into the qrDecoder directory.



cd qrdecoder-x.x.x


Start qrDecoder.



python qrdecoder.pyw


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



sudo apt-get install gtk2-engines-pixbuf

[#35196] Monday, September 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dileble

Total Points: 169
Total Questions: 105
Total Answers: 141

Location: Sao Tome and Principe
Member since Wed, Dec 29, 2021
2 Years ago
;