Closed RelicOfTesla closed 2 years ago
ReedSolomonException: Error locator degree does not match number of roots:
The qr-codes in these images are not square (2535x2690 and 2815x2895). That is why they could not be read correctly.
You should keep the aspect ratio when resizing the image. The first qr-code can be read by resizing it to a square.
ok..."zxing.org" also dose not work... but ZBar can be work...
use GlobalHistogramBinarizer was success..
bmp, err := gozxing.NewBinaryBitmap(gozxing.NewGlobalHistgramBinarizer(gozxing.NewLuminanceSourceFromImage(img)))
qrcode.NewQRCodeReader().Decode(bmp, nil)
raw qrcode
when size large then 4000x4000 return "NotFoundException: startSize = x:"