public final class MultiFormatReader extends Objectimplements Reader
| Constructor and Description |
|---|
MultiFormatReader()
|
| Modifier and Type | Method and Description |
|---|---|
Result |
decode(BinaryBitmap
This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it passes null as a hint to the decoders.
|
Result |
decode(BinaryBitmap
Decode an image using the hints provided.
|
Result |
decodeWithState(BinaryBitmap
Decode an image using the state set up by calling setHints() previously.
|
void |
reset()
Resets any internal state the implementation has after a decode, to prepare it for reuse.
|
void |
setHints(Map
This method adds state to the MultiFormatReader.
|
public Resultdecode(BinaryBitmap image) throws NotFoundException
decode in interface
Reader
image - The pixel data to decode
NotFoundException - Any errors which occurred
public Resultdecode(BinaryBitmap image, Map <DecodeHintType ,?> hints) throws NotFoundException
decode in interface
Reader
image - The pixel data to decode
hints - The hints to use, clearing the previous state.
NotFoundException - Any errors which occurred
public ResultdecodeWithState(BinaryBitmap image) throws NotFoundException
image - The pixel data to decode
NotFoundException - Any errors which occurred
public void setHints(Map<DecodeHintType ,?> hints)
hints - The set of hints to use for subsequent calls to decode(image)
public void reset()
Reader