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:
srowen 2012-02-14 09:47:37 +00:00
parent e1c71e464b
commit de25d10e9d

View file

@ -55,7 +55,7 @@ public final class QRCodeMultiReader extends QRCodeReader implements MultipleBar
DetectorResult[] detectorResults = new MultiDetector(image.getBlackMatrix()).detectMulti(hints);
for (DetectorResult detectorResult : detectorResults) {
try {
DecoderResult decoderResult = getDecoder().decode(detectorResult.getBits());
DecoderResult decoderResult = getDecoder().decode(detectorResult.getBits(), hints);
ResultPoint[] points = detectorResult.getPoints();
Result result = new Result(decoderResult.getText(), decoderResult.getRawBytes(), points,
BarcodeFormat.QR_CODE);