mlkit
mlkit copied to clipboard
[Bug report] found two results from an image qrcode.
Describe the bug I created an image qrcode from this website https://barcode.tec-it.com/en/EAN8?data=12344451
To Reproduce I used MLKit to detect the barcode from this image and I got two results from SDK first is: barcode format = 64 barcode valueType = 5 barcode rawValue = 12344451 barcode disPlayValue = 12344451 and second is: barcode format = 64 barcode valueType = 5 barcode rawValue = 12300051 barcode disPlayValue = 12300051
Expected behavior One result returned from SDK.
SDK Info:
- SDK Name & Version: com.google.mlkit:barcode-scanning:17.1.0
Smartphone:
- Device: [Realme C20, RMX3063 with Android 10 ]
Thanks for the report! Would you mind sharing your test image?
Thanks for the report! Would you mind sharing your test image?
Yes, I created the image from the link below
https://barcode.tec-it.com/en/EAN8?data=12344451
I used CameraX and MLKit for image analysis. By bringing the camera to scan the image above, after a while of moving the camera through a few different angles, I got 2 results.