zxing-android-embedded
zxing-android-embedded copied to clipboard
Australian Covid pass QRCode's latency issues
Description of the problem:
I'm using ZXing DecoratedBarcodeView for scanning Covid certificates of different countries. EU, NZ works great. ✔️
With Australia QRCodes, I'm having trouble detecting QR codes consistently. On my Pixel3 it works great. On Nokia 6.1 specifically, I have to place the camera quite a distance to get it detected. Sometimes, It doesn't detect at all (especially when printed on paper). Please see this video
Which library version are you using? 4.3.0.
Which phone/tablet are you using, and which Android version does it run? Nokia 6.1 TA-1050, Android 10.0
Does the same happen on other devices or an emulator? No. I tested on pixel 3, Samsung s20, Samsung A8 and Huawei P20 pro
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? Yes, reproducible in the sample app. Also, I have a github sample. Please check ZXingActivity in my sample.
Barcodes can be found in sample_barcodes folder in the root of project.
In the case of an error do you have a stack trace or adb logs? No
The Barcode scanner app on the play store works very well. It doesn't take more than 3 seconds to scan AU codes
Different things I have tried
- Different focus modes
- Using ZXing core 3.3.0
- enable exposure
in my opinion that barcode just has too much data in it, it has to be made bigger