-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Only rotate camera can recognize the qrcode #444
Comments
I’ve had the same issue. I used this for a school project and the qr reader scans immediately after a screen rotation. I thought is was because I was using it to scan a display connected to raspberry pi running Android things. Nonetheless, I had the same issue |
I found if rotate BitMatrix data by rotate180 function in Decoder toBitmap() function, it can get result very quickly. |
zxing:core 3.4.0 has some improvements for QR codes scanning. Please open an issue again if you still have trouble after upgrading. |
same problem as of 3.5.0 as described here: https://stackoverflow.com/questions/73624155/zxing-problems-reading-qr-code-in-portrait-landscape |
Description of the problem:
I have to rotate my device then can quickly recognize the qrcode image.
If face straight vertical to the qrcode can very hardly scan the result.
Which library version are you using? E.g. 3.2.0.
3.3.3
Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5,
Android 5.0)
Everyone i have
Does the same happen on other devices or an emulator?
yes
Can you reproduce the issue in the sample project included with the library? If not, can you
provide your own sample project or sample code that produces this error?
In the case of an error do you have a stack trace or adb logs?
I debug the Detector and find when i go to processFinderPatternInfo and get a wrong qrcode version, it supposed to be 9,but it actually is 8.
The text was updated successfully, but these errors were encountered: