Reputation: 9
i am using camerax and google mlkit barcode-scanning library to make a barcode reader. and the app scan qrcode is work fine, but the code format is barcode, the result will different. the barcode sometimes will scan multiple times for example, there are tree barcodes but the scanner get the four or five results. anybody knows the issue and any help is appreciate. pic 1 pic 2
Upvotes: 1
Views: 1578
Reputation: 73996
There really is nothing you can do about that, it just depends on the image/frame given to the analyzer. There are many factors that can effect the scanning of the barcode like light, angle of image/frame, image quality of the barcode, or quality of the barcode itself that can cause duplication to be found.
You will just need to have a way to remove ones that you dont want
Upvotes: 0
Reputation: 236
I think it's kind of expected. Due to the bias of image quality and barcode position, it's possible that part of the real barcode image is also identified as a barcode from the perspective of barcode detector.
Upvotes: 0