POV-Ray : Newsgroups : povray.off-topic : Bar codes : Re: Bar codes Server Time
5 Sep 2024 01:25:23 EDT (-0400)
  Re: Bar codes  
From: clipka
Date: 13 Oct 2009 21:43:35
Message: <4ad52cc7$1@news.povray.org>
Gyscos schrieb:
> Isn't there some bars at the beginning or the end that indicate the encoding ?

No, not really. Though many barcodes include some "frame" to (a) 
identify the side at which the barcode starts, and/or (b) calibrate for 
the size of the barcode; such frames can often double-act to prevent 
misinterpreting other barcode types.

For instance, Code39 IIRC always starts and ends with the bars it uses 
for the Asterisk (*).

EAN-13, on the other hand, uses one pair of simple bars at the 
beginning, end, and in the middle, respectively, to calibrate for size, 
while the reading direction can unambiguously be inferred from any 
"character" of the barcode "payload".

But these "frames" are only standardized for each individual barcode 
type, and there is no universal scheme to identify the type. All you can 
do is test for which types of barcode this particular specimen reads 
without error.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.