Skip to content

Incorrect code result when scanning barcode through Chrome on an Android Device #560

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

Open
alMWI opened this issue Apr 3, 2025 · 1 comment

Comments

@alMWI
Copy link

alMWI commented Apr 3, 2025

Hello, I have tested the UPC barcode scanning on both iOS and Android devices. iOS was able to scan the code correctly in Chrome, Safari and Firefox. Android was able to scan the code correctly in Firefox, but scanning in Chrome provides an incorrect code.

I have set readers to upc_reader and constraints to a higher resolution. As well as disabling Half Sampling for Chrome and Android. I am trying to scan a UPC Barcode 078742040370 and it is returning 012142040370 instead. Here is the Barcode image I am trying to scan

Image

Tested on Android Galaxy S21+ with latest Chrome Application 134.0.6998.135. I am using a CDN <script src="https://cdn.jsdelivr.net/npm/@ericblade/quagga2@1.8.4/dist/quagga.js"></script>

Possibly a bug or an issue with Quagga2 set up on my end? Thanks!

Copy link

github-actions bot commented Apr 3, 2025

Thank you for filing an issue! Please be patient. :-) Dont forget to add yourself to the contributors array in package.json! Have a great day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant