Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README | 2009-12-25 | 1.5 kB | |
jlinbar.jar | 2009-12-25 | 368.0 kB | |
Totals: 2 Items | 369.5 kB | 0 |
INTRODUCTION: Why can mobiles do this and PCs can't? If you have a webcam you should be able to scan barcodes - or that's what I thought. So when I couldn't find a way to do it, I looked around and figured out that most of the work has been done already. I used google's ZXing (http://code.google.com/p/zxing/) and V4L4J (http://code.google.com/p/v4l4j/), then added very little work of my own. STATUS: Release 0.01 is mostly a proof-of-concept. The GUI is a blatant rip-off from a v4l4j example. No lookups of any sort are carried out. Too many options to configure :) Currently only supports Linux with V4L / V4L2. QUICK START: You need to have V4L4J installed (see PREREQUISITES below). Then run the program with the following command: java -Djava.library.path=/usr/lib/jni -cp /usr/share/java/v4l4j.jar -jar jlinbar.jar KNOWN ISSUES: The program can occasionally give up with a V4L4J message like "cannot capture image" or "image must have size more than 0" etc. - just stop and start the capture again. PREREQUISITES: The v4l4j library needs to be installed - this is a JNI component. Get it here: http://code.google.com/p/v4l4j/downloads/list then uncompress and install as root or using sudo with "ant install". SUPPORT, CONTACT AND DEVELOPMENT: Any comments and contributions are welcome. I can also try to help you if you can't run it, but don't expect too much - I'm not taking this too seriously. To get in touch, visit https://sourceforge.net/projects/jlinbar/