Turned on ITF support by default. The typical overhead in real world scanning on an Android device is 3-8 ms.

git-svn-id: https://zxing.googlecode.com/svn/trunk@879 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
dswitkin 2009-03-09 15:46:27 +00:00
parent e367d3ef96
commit 04ff9c43b5
2 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,8 @@ public final class MultiFormatReader implements Reader {
possibleFormats.contains(BarcodeFormat.EAN_13) ||
possibleFormats.contains(BarcodeFormat.EAN_8) ||
possibleFormats.contains(BarcodeFormat.CODE_39) ||
possibleFormats.contains(BarcodeFormat.CODE_128);
possibleFormats.contains(BarcodeFormat.CODE_128) ||
possibleFormats.contains(BarcodeFormat.ITF);
// Put 1D readers upfront in "normal" mode
if (addOneDReader && !tryHarder) {
readers.addElement(new MultiFormatOneDReader(hints));

View file

@ -57,8 +57,7 @@ public final class MultiFormatOneDReader extends AbstractOneDReader {
readers.addElement(new MultiFormatUPCEANReader(hints));
readers.addElement(new Code39Reader());
readers.addElement(new Code128Reader());
// TODO: Add ITFReader once it is validated as production ready, and tested for performance.
//readers.addElement(new ITFReader());
readers.addElement(new ITFReader());
}
}