Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/01/04 13:09
Read: times


 
#78506 - Barcode scan speed variation
Responding to: ???'s previous message
The secret with a bar code decoder is i expect is to find the average length of the long and short marks and spaces and with a bar code you know the format is such that the first two and last two symbols are always short so you can allow for variations in the speed between different'swipes' and variations during each 'swipe' which I expect would be small.


You'd be surprised how much speed variation there can be within a single swipe.

When I had to write a bar code decoder I started with what you suggested but quickly found that very few scans are of such a uniform velocity to make that approach work. Turns out you have to calculate the average length of bars and spaces many times throughout the scan. What you end up with is a sliding average that represents the average width of the previous and next 5 (or some other magic number) bars and spaces. And even then you have to be ready to handle minor printing errors that distort the bars, etc.

Regards,
Craig Steiner


List of 22 messages in thread
TopicAuthorDate
MORSE encoder            01/01/70 00:00      
   RE: MORSE encoder            01/01/70 00:00      
   RE: MORSE encoder            01/01/70 00:00      
   RE: MORSE encoder            01/01/70 00:00      
      RE: MORSE encoder            01/01/70 00:00      
      RE: MORSE encoder            01/01/70 00:00      
   RE: MORSE encoder            01/01/70 00:00      
   RE: MORSE encoder            01/01/70 00:00      
      RE: MORSE encoder            01/01/70 00:00      
         RE: MORSE encoder            01/01/70 00:00      
         RE: MORSE and Bar Codes            01/01/70 00:00      
      Barcode scan speed variation            01/01/70 00:00      
         RE: Barcode scan speed variation            01/01/70 00:00      
            RE: Barcode scan speed variation            01/01/70 00:00      
            RE: Barcode scan speed variation            01/01/70 00:00      
               RE: Barcode scan speed variation            01/01/70 00:00      
                  RE: Barcode Wand reader            01/01/70 00:00      
                     RE: Barcode Wand reader            01/01/70 00:00      
                        RE: Barcode Wand reader            01/01/70 00:00      
   RE: MORSE encoder            01/01/70 00:00      
      RE: MORSE encoder            01/01/70 00:00      
         RE: MORSE encoder            01/01/70 00:00      

Back to Subject List