Revision [696]
This is an old revision of Blog20110603BarCodeWebcam made by BenoitAudouard on 2011-06-13 15:29:16.
http://sdlcam.raphnet.net/
http://jlinbar.sourceforge.net/ java, no doc to launch it o_O (check wiki though)
http://forums.gcstar.org/viewtopic.php?id=263
http://graphics.tudelft.nl/~jorik/css/barcode.html good spirit :-) and using ffmpeg
pgmpipe was not working as not implemented in default ffmpeg on Mageia 1, see
http://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/1/i586/media/tainted/release/
hmmm pgmpipe not by default either :/
http://sourceforge.net/projects/zbar/ (new name for zebra) qt4 & gtk UI available apparently
http://forums.gcstar.org/viewtopic.php?pid=2264 and http://forum.framasoft.org/viewtopic.php?t=28412
$ vgrabbj -d /dev/video -o ppm | gocr -
what worked for me :
$ vgrabbj -d /dev/video0 -o ppm | gocr -
well, disappointingly I keep having
<barcode type="unknown" /><barcode type="unknown" />
vgrabbj -d /dev/video2 -i vga -o ppm -f essaivga2.ppm -l 1 # will launch vgrabbj as a deamon and take an image every second, re-writing the file
display # will show the image (have to tweak to be displayed whenever it changes, or perhaps does it automatically)
Logitech Pro 4000 640x480
Eee PC 901 1,3 Mpixel maybe 1280x1024 ? according to http://web.forret.com/tools/megapixel.asp?title=1.3+Megapixel+camera&width=1280&height=1024
Well, to check that gocr works, just use
- convert it with inkscape to png (convert tool does not seem to work perfectly with svg yet ?)
- then gocr -i UPC_A.png # provides
_<barcode type="UPC" chars="13" code="0987654321098" crc="0" error="0.012" /> 9 87654 32109 8