Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Webcam as Barcode Scanner

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
42,107
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 3, 2009

This is a free software UPC/EAN-13 barcode scanner implemented using Ruby and HornetsEye. The software extracts a scan-line from the camera image. The edges of the bars are determined and reading is attempted at different starting positions. The three guard bars and the checksum are used to increase the stability of the algorithm.

The webcam is a Philips SPC900NC which has 30 fps (not 90 fps as Philips claims). However it has built-in autofocus.

Source code of main program is here:
http://www.wedesoft.demon.co.uk/hornetseye-api/file.Applications.html#EAN-13_...

See also
* http://zbar.sourceforge.net/
* http://code.google.com/p/zxing/
* http://ieeexplore.ieee.org/search/wrapper.jsp?arnumber=4217185
* http://www.imagingtools.de/dipl_ab.pdf
* http://www.computer-vision-software.com/blog/2009/07/barcode-recognition/

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (wedesoft)

  • I've used Kubuntu (a distribution of GNU+Linux) and a Linux-compatible webcam (Logitech Quickcam 4000).

  • can I use this with my digital camera like take a pic of a barcode then run the pic thru your software? that would be cool.

  • @coondogtheman1234 Sorry for the late response. Yes. You can load an image (MultiArray.load_ubytergb) instead of capturing images from a webcam. Of course you'd have to remove the capture loop as well.

  • Sorry about that. The source code is for Kubuntu. However you can change the line "input = V4L2Input.new '/dev/video0', 640, 480" to "input = DShowInput.new 0, 640, 480" or just "input = DShowInput.new". Furthermore you need to replace "X11Display.show do" with "W32Display.show do". Let me know if it doesn't work.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • Good, I like that you share this video, I wish success always Webcam as Barcode Scanner

  • Your Video Is Very Useful Sharing The software extracts a scan-line from the camera image. The edges of the bars are determined and reading is attempted at different starting positions.

  • hamma :D

    

  • Oojami- Time Is Now 8.85PUNTS at ZAVVI.COM

  • @wedesoft

    I have a webcam now it's the playstation 2 eye toy and it has pretty good quality. can I scan any barcode or only certain ones?

  • @JayPattersonTV I want to do that on my PSP but sony has locked the PSP down and I dont feel like turning it into a brick.

  • @JayPattersonTV

    I hear theres an app for the iPhone that does this and it may work on the new iPod touch with cameras.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more