mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

[Bug report] found two results from an image qrcode.

Open randauto opened this issue 1 year ago • 2 comments

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 ]

randauto avatar May 04 '23 07:05 randauto

Thanks for the report! Would you mind sharing your test image?

zhouyiself avatar May 04 '23 18:05 zhouyiself

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 image

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.

randauto avatar May 05 '23 01:05 randauto