com.google.zxing.multi
Class GenericMultipleBarcodeReader

java.lang.Object
  extended by com.google.zxing.multi.GenericMultipleBarcodeReader
All Implemented Interfaces:
MultipleBarcodeReader

public final class GenericMultipleBarcodeReader
extends Object
implements MultipleBarcodeReader

Attempts to locate multiple barcodes in an image by repeatedly decoding portion of the image. After one barcode is found, the areas left, above, right and below the barcode's ResultPoints are scanned, recursively.

A caller may want to also employ ByQuadrantReader when attempting to find multiple 2D barcodes, like QR Codes, in an image, where the presence of multiple barcodes might prevent detecting any one of them.

That is, instead of passing a Reader a caller might pass new ByQuadrantReader(reader).

Since:
BlackBerry API 6.0.0

Constructor Summary
GenericMultipleBarcodeReader(Reader delegate)
           
 
Method Summary
 Result[] decodeMultiple(BinaryBitmap image)
           
 Result[] decodeMultiple(BinaryBitmap image, Hashtable hints)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

GenericMultipleBarcodeReader

public GenericMultipleBarcodeReader(Reader delegate)
Since:
BlackBerry API 6.0.0


Method Detail

decodeMultiple

public Result[] decodeMultiple(BinaryBitmap image)
                        throws ReaderException
Specified by:
decodeMultiple in interface MultipleBarcodeReader
Throws:
ReaderException
Since:
BlackBerry API 6.0.0

decodeMultiple

public Result[] decodeMultiple(BinaryBitmap image,
                               Hashtable hints)
                        throws ReaderException
Specified by:
decodeMultiple in interface MultipleBarcodeReader
Throws:
ReaderException
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.