Decode an image using the hints provided. Does not honor existing state.
The pixel data to decode
The hints to use, clearing the previous state.
The contents of the image
Decode an image using the state set up by calling setHints() previously. Continuous scan clients will get a large speed increase by using this instead of decode().
The pixel data to decode
The contents of the image
This method adds state to the MultiFormatReader. By setting the hints once, subsequent calls to decodeWithState(image) can reuse the same set of readers without reallocating memory. This is important for performance in continuous scan clients.
The set of hints to use for subsequent calls to decode(image)
Generated using TypeDoc
MultiFormatReader is a convenience class and the main entry point into the library for most uses. By default it attempts to decode all barcode formats that the library supports. Optionally, you can provide a hints object to request different behavior, for example only decoding QR codes.
Sean Owen
dswitkin@google.com (Daniel Switkin)