Created new false positives blackbox test. We definitely have a problem with EAN_8 firing too often.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1560 59b500cc-1b3d-0410-9834-0bbf25fbcc57
BIN
core/test/data/blackbox/falsepositives-2/01.png
Executable file
After Width: | Height: | Size: 280 KiB |
BIN
core/test/data/blackbox/falsepositives-2/02.png
Executable file
After Width: | Height: | Size: 313 KiB |
BIN
core/test/data/blackbox/falsepositives-2/03.png
Executable file
After Width: | Height: | Size: 234 KiB |
BIN
core/test/data/blackbox/falsepositives-2/04.png
Executable file
After Width: | Height: | Size: 197 KiB |
BIN
core/test/data/blackbox/falsepositives-2/05.png
Executable file
After Width: | Height: | Size: 215 KiB |
BIN
core/test/data/blackbox/falsepositives-2/06.png
Executable file
After Width: | Height: | Size: 212 KiB |
BIN
core/test/data/blackbox/falsepositives-2/07.png
Executable file
After Width: | Height: | Size: 178 KiB |
BIN
core/test/data/blackbox/falsepositives-2/08.png
Executable file
After Width: | Height: | Size: 219 KiB |
BIN
core/test/data/blackbox/falsepositives-2/09.png
Executable file
After Width: | Height: | Size: 256 KiB |
BIN
core/test/data/blackbox/falsepositives-2/10.png
Executable file
After Width: | Height: | Size: 180 KiB |
BIN
core/test/data/blackbox/falsepositives-2/11.png
Executable file
After Width: | Height: | Size: 257 KiB |
BIN
core/test/data/blackbox/falsepositives-2/12.png
Executable file
After Width: | Height: | Size: 161 KiB |
BIN
core/test/data/blackbox/falsepositives-2/13.png
Executable file
After Width: | Height: | Size: 296 KiB |
BIN
core/test/data/blackbox/falsepositives-2/14.png
Executable file
After Width: | Height: | Size: 300 KiB |
BIN
core/test/data/blackbox/falsepositives-2/15.png
Executable file
After Width: | Height: | Size: 232 KiB |
BIN
core/test/data/blackbox/falsepositives-2/16.png
Executable file
After Width: | Height: | Size: 274 KiB |
BIN
core/test/data/blackbox/falsepositives-2/17.png
Executable file
After Width: | Height: | Size: 342 KiB |
BIN
core/test/data/blackbox/falsepositives-2/18.png
Executable file
After Width: | Height: | Size: 199 KiB |
BIN
core/test/data/blackbox/falsepositives-2/19.png
Executable file
After Width: | Height: | Size: 221 KiB |
BIN
core/test/data/blackbox/falsepositives-2/20.png
Executable file
After Width: | Height: | Size: 281 KiB |
BIN
core/test/data/blackbox/falsepositives-2/21.png
Executable file
After Width: | Height: | Size: 212 KiB |
BIN
core/test/data/blackbox/falsepositives-2/22.png
Executable file
After Width: | Height: | Size: 190 KiB |
BIN
core/test/data/blackbox/falsepositives-2/23.png
Executable file
After Width: | Height: | Size: 315 KiB |
BIN
core/test/data/blackbox/falsepositives-2/24.png
Executable file
After Width: | Height: | Size: 254 KiB |
BIN
core/test/data/blackbox/falsepositives-2/25.png
Executable file
After Width: | Height: | Size: 137 KiB |
|
@ -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.negative;
|
||||
|
||||
import com.google.zxing.common.AbstractNegativeBlackBoxTestCase;
|
||||
|
||||
/**
|
||||
* Additional random images with high contrast patterns which should not find any barcodes.
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
public final class FalsePositives2BlackBoxTestCase extends AbstractNegativeBlackBoxTestCase {
|
||||
|
||||
public FalsePositives2BlackBoxTestCase() {
|
||||
super("test/data/blackbox/falsepositives-2");
|
||||
addTest(6, 0.0f);
|
||||
addTest(6, 90.0f);
|
||||
addTest(6, 180.0f);
|
||||
addTest(6, 270.0f);
|
||||
}
|
||||
|
||||
}
|