We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › Barcode scanner in pure processing
Page Index Toggle Pages: 1
Barcode scanner in pure processing (Read 1716 times)
Barcode scanner in pure processing
Sep 22nd, 2009, 10:45am
 
I always considered barcode scanners as a pice of rocketscience that mere mortals like me aren't able to build. But this weekend megalomania hit me and i wrote one in processing. I didn't use any libraries beside GSVideo (on my linux box) or processing.video (wherever quicktime is available)

http://www.local-guru.net/blog/2009/09/22/barcodescanner-in-pure-processing

...

Re: Barcode scanner in pure processing
Reply #1 - Nov 1st, 2009, 11:41am
 
Sounds good! What program did you use to print out the bar codes on paper?

One suggestion: try scan vertically, and a couple of diagonal lines. Discard the kind of scans without the start code until you find one scan that has a start code. Loop until you recognize a code, then pause for a second or two and start again.
Re: Barcode scanner in pure processing
Reply #2 - Nov 19th, 2009, 3:50pm
 
I really like this. How hard would it be to implement it for Code 39 barcode? This doesn't involve any checksums; only detecting two asterisks: one at the beginning, one at the end. There are 9 bars (white/black), three of which are between two and three times as thick as the small lines. I think decoding Code 39 should be easier.

Kyle
Page Index Toggle Pages: 1