I am trying to decode QR code with errors in Java with ZXing library. And I want to get all position of errors in binary string (consist from data and RS error correction codewords), which have decoded into QR code. How I can use ZXing library (or modify it) and solve my problem.
Share
It’s a good idea to try reading the source first. In
com.google.zxing.common.reedsolomon.ReedSolomonDecoder, there is a methodfindErrorLocations()which pretty clear does exactly this.