Made a change to 1D decoding which looks for 100% instead of 150% of the start and...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Wed, 15 Oct 2008 19:47:34 +0000 (19:47 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Wed, 15 Oct 2008 19:47:34 +0000 (19:47 +0000)
commita974feffab73383221cf62fe3a068ed584fde491
tree931875524a60e27cf1b83b0508e3ad4403af2ee7
parent953af8e84e37e2a28699069c705c0e563943c64c
Made a change to 1D decoding which looks for 100% instead of 150% of the start and end patterns when searching for quiet zones, but in exchange for that reduction, we reject rows whose quiet zones would run off either edge of the image.

The result is complete elimination of all false positives in the new batch of 40 images I just checked in. Bettter than that, we come up with a net gain of 38 new barcodes decoded (counting rotation and try harder variations). We even get some of the reflective images that were impossible up to this point.

git-svn-id: http://zxing.googlecode.com/svn/trunk@620 59b500cc-1b3d-0410-9834-0bbf25fbcc57
core/src/com/google/zxing/oned/AbstractUPCEANReader.java
core/test/src/com/google/zxing/negative/FalsePositivesBlackBoxTestCase.java
core/test/src/com/google/zxing/negative/PartialBlackBoxTestCase.java
core/test/src/com/google/zxing/oned/EAN13BlackBox1TestCase.java
core/test/src/com/google/zxing/oned/UPCABlackBox1TestCase.java
core/test/src/com/google/zxing/oned/UPCABlackBox2TestCase.java
core/test/src/com/google/zxing/oned/UPCABlackBox4TestCase.java
core/test/src/com/google/zxing/oned/UPCEBlackBox2TestCase.java
core/test/src/com/google/zxing/oned/UPCEBlackBox3ReflectiveTestCase.java