This project has moved and is read-only. For the latest updates, please go here.

Can't read an interleaved 2 of 5 code with the ITFReader

Jul 26, 2013 at 1:41 AM
What is wrong that I cant read this barcode?
Image
Jul 29, 2013 at 9:30 PM
Two things let the decoding fail:
  • zxing assumes a trailing quiet zone of at least 10 times the width of a narrow line
    (http://www.barcode-1.net/i25code.html)
  • zxing checks for allowed lengths to prevent false positives: 48, 44, 24, 20, 18, 16, 14, 12, 10, 8, 6
    you can override it with the decoding hint ALLOWED_LENGTHS and an int-array
Jul 29, 2013 at 10:23 PM
Great! It worked! Thanks you
Jul 30, 2013 at 7:43 PM
The current source now supports smaller quiet zones if the are too less pixels left.
Jul 30, 2013 at 9:43 PM
ok, will try