Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR code image recognition error exception: "Error locator degree does not match number of roots" #253

Open
xiadehong opened this issue Jan 15, 2025 · 0 comments

Comments

@xiadehong
Copy link

I have an image here that has been failing to decode and improve decoding error correction. You can try it now. What's the problem? Scanning the code on your phone works, but decoding this image has failed. The code and image are as follows:
QZXing decoder;
//Can only recognize QR codes
decoder.setDecoder(QZXing::DecoderFormat_QR_CODE);
decoder.setTryHarder(true);
decoder.setSourceFilterType(QZXing::SourceFilter_ImageNormal);
decoder.setTryHarderBehaviour(QZXing::TryHarderBehaviour_ThoroughScanning | QZXing::TryHarderBehaviour_Rotate);
QString Data = decoder.decodeImage(img);
After going through several stages, the errors are as follows:
Decoding phase 1: failed
Decoding phase 2, thorought scan: failed
Decoding phase 2, rotate: failed
Decoding failed: "This luminance source does not support rotation."
Error: Could not decode QR code.
20250113093747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant