Added 40 real world Code 128 images. We decode 9/40 right-side up, and 8/40 upside down. A fix will follow shortly to get these numbers up - we overtightened the pattern matching in the first round of false positive changes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@461 59b500cc-1b3d-0410-9834-0bbf25fbcc57
BIN
core/test/data/blackbox/code128-2/01.jpg
Normal file
After Width: | Height: | Size: 111 KiB |
1
core/test/data/blackbox/code128-2/01.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3379497200006
|
BIN
core/test/data/blackbox/code128-2/02.jpg
Normal file
After Width: | Height: | Size: 109 KiB |
1
core/test/data/blackbox/code128-2/02.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3379497200006
|
BIN
core/test/data/blackbox/code128-2/03.jpg
Normal file
After Width: | Height: | Size: 111 KiB |
1
core/test/data/blackbox/code128-2/03.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3379497200006
|
BIN
core/test/data/blackbox/code128-2/04.jpg
Normal file
After Width: | Height: | Size: 106 KiB |
1
core/test/data/blackbox/code128-2/04.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3379497200006
|
BIN
core/test/data/blackbox/code128-2/05.jpg
Normal file
After Width: | Height: | Size: 86 KiB |
1
core/test/data/blackbox/code128-2/05.txt
Normal file
|
@ -0,0 +1 @@
|
|||
15182881
|
BIN
core/test/data/blackbox/code128-2/06.jpg
Normal file
After Width: | Height: | Size: 83 KiB |
1
core/test/data/blackbox/code128-2/06.txt
Normal file
|
@ -0,0 +1 @@
|
|||
15182881
|
BIN
core/test/data/blackbox/code128-2/07.jpg
Normal file
After Width: | Height: | Size: 101 KiB |
1
core/test/data/blackbox/code128-2/07.txt
Normal file
|
@ -0,0 +1 @@
|
|||
15182881
|
BIN
core/test/data/blackbox/code128-2/08.jpg
Normal file
After Width: | Height: | Size: 98 KiB |
1
core/test/data/blackbox/code128-2/08.txt
Normal file
|
@ -0,0 +1 @@
|
|||
15182881
|
BIN
core/test/data/blackbox/code128-2/09.jpg
Normal file
After Width: | Height: | Size: 103 KiB |
1
core/test/data/blackbox/code128-2/09.txt
Normal file
|
@ -0,0 +1 @@
|
|||
CNK8181G2C
|
BIN
core/test/data/blackbox/code128-2/10.jpg
Normal file
After Width: | Height: | Size: 105 KiB |
1
core/test/data/blackbox/code128-2/10.txt
Normal file
|
@ -0,0 +1 @@
|
|||
CNK8181G2C
|
BIN
core/test/data/blackbox/code128-2/11.jpg
Normal file
After Width: | Height: | Size: 102 KiB |
1
core/test/data/blackbox/code128-2/11.txt
Normal file
|
@ -0,0 +1 @@
|
|||
CNK8181G2C
|
BIN
core/test/data/blackbox/code128-2/12.jpg
Normal file
After Width: | Height: | Size: 94 KiB |
1
core/test/data/blackbox/code128-2/12.txt
Normal file
|
@ -0,0 +1 @@
|
|||
CNK8181G2C
|
BIN
core/test/data/blackbox/code128-2/13.jpg
Normal file
After Width: | Height: | Size: 87 KiB |
1
core/test/data/blackbox/code128-2/13.txt
Normal file
|
@ -0,0 +1 @@
|
|||
1PEF224A4
|
BIN
core/test/data/blackbox/code128-2/14.jpg
Normal file
After Width: | Height: | Size: 84 KiB |
1
core/test/data/blackbox/code128-2/14.txt
Normal file
|
@ -0,0 +1 @@
|
|||
1PEF224A4
|
BIN
core/test/data/blackbox/code128-2/15.jpg
Normal file
After Width: | Height: | Size: 88 KiB |
1
core/test/data/blackbox/code128-2/15.txt
Normal file
|
@ -0,0 +1 @@
|
|||
1PEF224A4
|
BIN
core/test/data/blackbox/code128-2/16.jpg
Normal file
After Width: | Height: | Size: 94 KiB |
1
core/test/data/blackbox/code128-2/16.txt
Normal file
|
@ -0,0 +1 @@
|
|||
1PEF224A4
|
BIN
core/test/data/blackbox/code128-2/17.jpg
Normal file
After Width: | Height: | Size: 99 KiB |
1
core/test/data/blackbox/code128-2/17.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FW72
|
BIN
core/test/data/blackbox/code128-2/18.jpg
Normal file
After Width: | Height: | Size: 114 KiB |
1
core/test/data/blackbox/code128-2/18.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FW72
|
BIN
core/test/data/blackbox/code128-2/19.jpg
Normal file
After Width: | Height: | Size: 102 KiB |
1
core/test/data/blackbox/code128-2/19.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FW72
|
BIN
core/test/data/blackbox/code128-2/20.jpg
Normal file
After Width: | Height: | Size: 99 KiB |
1
core/test/data/blackbox/code128-2/20.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FW72
|
BIN
core/test/data/blackbox/code128-2/21.jpg
Normal file
After Width: | Height: | Size: 114 KiB |
1
core/test/data/blackbox/code128-2/21.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3354174500018
|
BIN
core/test/data/blackbox/code128-2/22.jpg
Normal file
After Width: | Height: | Size: 111 KiB |
1
core/test/data/blackbox/code128-2/22.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3354174500018
|
BIN
core/test/data/blackbox/code128-2/23.jpg
Normal file
After Width: | Height: | Size: 112 KiB |
1
core/test/data/blackbox/code128-2/23.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3354174500018
|
BIN
core/test/data/blackbox/code128-2/24.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
1
core/test/data/blackbox/code128-2/24.txt
Normal file
|
@ -0,0 +1 @@
|
|||
005-3354174500018
|
BIN
core/test/data/blackbox/code128-2/25.jpg
Normal file
After Width: | Height: | Size: 96 KiB |
1
core/test/data/blackbox/code128-2/25.txt
Normal file
|
@ -0,0 +1 @@
|
|||
31001171800000017989625355702636
|
BIN
core/test/data/blackbox/code128-2/26.jpg
Normal file
After Width: | Height: | Size: 98 KiB |
1
core/test/data/blackbox/code128-2/26.txt
Normal file
|
@ -0,0 +1 @@
|
|||
31001171800000017989625355702636
|
BIN
core/test/data/blackbox/code128-2/27.jpg
Normal file
After Width: | Height: | Size: 90 KiB |
1
core/test/data/blackbox/code128-2/27.txt
Normal file
|
@ -0,0 +1 @@
|
|||
31001171800000017989625355702636
|
BIN
core/test/data/blackbox/code128-2/28.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
1
core/test/data/blackbox/code128-2/28.txt
Normal file
|
@ -0,0 +1 @@
|
|||
31001171800000017989625355702636
|
BIN
core/test/data/blackbox/code128-2/29.jpg
Normal file
After Width: | Height: | Size: 91 KiB |
1
core/test/data/blackbox/code128-2/29.txt
Normal file
|
@ -0,0 +1 @@
|
|||
42094043
|
BIN
core/test/data/blackbox/code128-2/30.jpg
Normal file
After Width: | Height: | Size: 77 KiB |
1
core/test/data/blackbox/code128-2/30.txt
Normal file
|
@ -0,0 +1 @@
|
|||
42094043
|
BIN
core/test/data/blackbox/code128-2/31.jpg
Normal file
After Width: | Height: | Size: 97 KiB |
1
core/test/data/blackbox/code128-2/31.txt
Normal file
|
@ -0,0 +1 @@
|
|||
42094043
|
BIN
core/test/data/blackbox/code128-2/32.jpg
Normal file
After Width: | Height: | Size: 87 KiB |
1
core/test/data/blackbox/code128-2/32.txt
Normal file
|
@ -0,0 +1 @@
|
|||
42094043
|
BIN
core/test/data/blackbox/code128-2/33.jpg
Normal file
After Width: | Height: | Size: 113 KiB |
1
core/test/data/blackbox/code128-2/33.txt
Normal file
|
@ -0,0 +1 @@
|
|||
30885909173823
|
BIN
core/test/data/blackbox/code128-2/34.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
1
core/test/data/blackbox/code128-2/34.txt
Normal file
|
@ -0,0 +1 @@
|
|||
30885909173823
|
BIN
core/test/data/blackbox/code128-2/35.jpg
Normal file
After Width: | Height: | Size: 116 KiB |
1
core/test/data/blackbox/code128-2/35.txt
Normal file
|
@ -0,0 +1 @@
|
|||
30885909173823
|
BIN
core/test/data/blackbox/code128-2/36.jpg
Normal file
After Width: | Height: | Size: 112 KiB |
1
core/test/data/blackbox/code128-2/36.txt
Normal file
|
@ -0,0 +1 @@
|
|||
30885909173823
|
BIN
core/test/data/blackbox/code128-2/37.jpg
Normal file
After Width: | Height: | Size: 123 KiB |
1
core/test/data/blackbox/code128-2/37.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FGGQ6D1
|
BIN
core/test/data/blackbox/code128-2/38.jpg
Normal file
After Width: | Height: | Size: 100 KiB |
1
core/test/data/blackbox/code128-2/38.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FGGQ6D1
|
BIN
core/test/data/blackbox/code128-2/39.jpg
Normal file
After Width: | Height: | Size: 116 KiB |
1
core/test/data/blackbox/code128-2/39.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FGGQ6D1
|
BIN
core/test/data/blackbox/code128-2/40.jpg
Normal file
After Width: | Height: | Size: 101 KiB |
1
core/test/data/blackbox/code128-2/40.txt
Normal file
|
@ -0,0 +1 @@
|
|||
FGGQ6D1
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Copyright 2008 ZXing authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.google.zxing.oned;
|
||||
|
||||
import com.google.zxing.BarcodeFormat;
|
||||
import com.google.zxing.MultiFormatReader;
|
||||
import com.google.zxing.common.AbstractBlackBoxTestCase;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
public final class Code128BlackBox2TestCase extends AbstractBlackBoxTestCase {
|
||||
|
||||
public Code128BlackBox2TestCase() {
|
||||
super(new File("test/data/blackbox/code128-2"), new MultiFormatReader(), BarcodeFormat.CODE_128);
|
||||
addTest(9, 0.0f);
|
||||
addTest(8, 180.0f);
|
||||
}
|
||||
|
||||
}
|