mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Issue 1163 pass hint through multi QR code decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2183 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
e1c71e464b
commit
de25d10e9d
|
@ -55,7 +55,7 @@ public final class QRCodeMultiReader extends QRCodeReader implements MultipleBar
|
||||||
DetectorResult[] detectorResults = new MultiDetector(image.getBlackMatrix()).detectMulti(hints);
|
DetectorResult[] detectorResults = new MultiDetector(image.getBlackMatrix()).detectMulti(hints);
|
||||||
for (DetectorResult detectorResult : detectorResults) {
|
for (DetectorResult detectorResult : detectorResults) {
|
||||||
try {
|
try {
|
||||||
DecoderResult decoderResult = getDecoder().decode(detectorResult.getBits());
|
DecoderResult decoderResult = getDecoder().decode(detectorResult.getBits(), hints);
|
||||||
ResultPoint[] points = detectorResult.getPoints();
|
ResultPoint[] points = detectorResult.getPoints();
|
||||||
Result result = new Result(decoderResult.getText(), decoderResult.getRawBytes(), points,
|
Result result = new Result(decoderResult.getText(), decoderResult.getRawBytes(), points,
|
||||||
BarcodeFormat.QR_CODE);
|
BarcodeFormat.QR_CODE);
|
||||||
|
|
Loading…
Reference in a new issue