/** * Decode an image using the hints provided. Does not honor existing state. * * @param image The pixel data to decode * @param hints The hints to use, clearing the previous state. * @return The contents of the image * @throws NotFoundException Any errors which occurred */ @Override public Result decode(BinaryBitmap image, Map<DecodeHintType,?> hints) throws NotFoundException { setHints(hints); return decodeInternal(image); }
/** * Decode an image using the hints provided. Does not honor existing state. * * @param image The pixel data to decode * @param hints The hints to use, clearing the previous state. * @return The contents of the image * @throws NotFoundException Any errors which occurred */ public Result decode(BinaryBitmap image, Hashtable hints) throws NotFoundException { setHints(hints); return decodeInternal(image); }
/** * Decode an image using the hints provided. Does not honor existing state. * * @param image The pixel data to decode * @param hints The hints to use, clearing the previous state. * @return The contents of the image * @throws NotFoundException Any errors which occurred */ @Override public Result decode(BinaryBitmap image, Map<DecodeHintType,?> hints) throws NotFoundException { setHints(hints); return decodeInternal(image); }
/** * This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it * passes null as a hint to the decoders. However, that makes it inefficient to call repeatedly. * Use setHints() followed by decodeWithState() for continuous scan applications. * * @param image The pixel data to decode * @return The contents of the image * @throws NotFoundException Any errors which occurred */ public Result decode(BinaryBitmap image) throws NotFoundException { setHints(null); return decodeInternal(image); }
/** * This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it * passes null as a hint to the decoders. However, that makes it inefficient to call repeatedly. * Use setHints() followed by decodeWithState() for continuous scan applications. * * @param image The pixel data to decode * @return The contents of the image * @throws NotFoundException Any errors which occurred */ @Override public Result decode(BinaryBitmap image) throws NotFoundException { setHints(null); return decodeInternal(image); }
/** * Decode an image using the state set up by calling setHints() previously. Continuous scan * clients will get a <b>large</b> speed increase by using this instead of decode(). * * @param image The pixel data to decode * @return The contents of the image * @throws NotFoundException Any errors which occurred */ public Result decodeWithState(BinaryBitmap image) throws NotFoundException { // Make sure to set up the default state so we don't crash if (readers == null) { setHints(null); } return decodeInternal(image); }
/** * This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it * passes null as a hint to the decoders. However, that makes it inefficient to call repeatedly. * Use setHints() followed by decodeWithState() for continuous scan applications. * * @param image The pixel data to decode * @return The contents of the image * @throws NotFoundException Any errors which occurred */ @Override public Result decode(BinaryBitmap image) throws NotFoundException { setHints(null); return decodeInternal(image); }
/** * Decode an image using the state set up by calling setHints() previously. Continuous scan * clients will get a <b>large</b> speed increase by using this instead of decode(). * * @param image The pixel data to decode * @return The contents of the image * @throws NotFoundException Any errors which occurred */ public Result decodeWithState(BinaryBitmap image) throws NotFoundException { // Make sure to set up the default state so we don't crash if (readers == null) { setHints(null); } return decodeInternal(image); }
/** * Decode an image using the state set up by calling setHints() previously. Continuous scan * clients will get a <b>large</b> speed increase by using this instead of decode(). * * @param image The pixel data to decode * @return The contents of the image * @throws NotFoundException Any errors which occurred */ public Result decodeWithState(BinaryBitmap image) throws NotFoundException { // Make sure to set up the default state so we don't crash if (readers == null) { setHints(null); } return decodeInternal(image); }