Fix SYMBOLOGY_IDENTIFIER loss in QRCodeMultiReader

This commit is contained in:
xiebaiyuan 2024-08-01 16:46:32 +08:00
parent 6ea3726b33
commit 34588d87a1

View file

@ -83,6 +83,9 @@ public final class QRCodeMultiReader extends QRCodeReader implements MultipleBar
result.putMetadata(ResultMetadataType.STRUCTURED_APPEND_PARITY,
decoderResult.getStructuredAppendParity());
}
// Fix SYMBOLOGY_IDENTIFIER loss in QRCodeMultiReader
result.putMetadata(ResultMetadataType.SYMBOLOGY_IDENTIFIER, "]Q" + decoderResult.getSymbologyModifier());
results.add(result);
} catch (ReaderException re) {
// ignore and continue