Skip to content
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

Barcode scanner detected wrong barcode sometimes #17

Open
longld103 opened this issue Jun 17, 2020 · 6 comments
Open

Barcode scanner detected wrong barcode sometimes #17

longld103 opened this issue Jun 17, 2020 · 6 comments
Assignees

Comments

@longld103
Copy link

failed
These are results of detector. String 1209-002558GK28E21060524860000321 is correct

1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-, 9ZGK18E210523242150321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
3410702717477
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-, 9ZGK18E210523242150321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
4309-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-, 9ZGK18E210523242150321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-, 9ZGK28EO1060524860000321
1209-002558GK28E21060524860000321
2118516866763
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
1209-002558DK28E2,*'P6$#5
1209-002558GK28E21060524860000321
1209-002558GK28E21060524860000321
4309-, 9ZGK28E21060522760000321
1209-002558GK28E21060524860000321
5411302311520

@baversjo
Copy link

I wonder if it's as simple as the algorithm is not checking the check digit in code128?

We're also having the same issue as @longld103.
image

The above barcode is sometimes pickedup as 2016101151D (correct) but sometimes as 2016022851/

@baversjo
Copy link

Bug posted on the Google ML Kit bug tracker: https://issuetracker.google.com/u/1/issues/159876630

@ruslan-podurets
Copy link

Hi, have similar issue. Added comment to this issue #32 and to the tracker https://issuetracker.google.com/u/1/issues/159876630

@tobi512
Copy link

tobi512 commented Sep 4, 2020

We're having a similar problem with wrong detection, especially if the barcodes are a bit blurry.

The following image contains an EAN-13 code ("4014531682860"), but sometimes we get completely different EAN-8 codes (e.g. "12544059" or "12541249") as a result:

Blurry barcode barcode-blurry

Other scanners (e.g. Google Lens) get a perfect detection, even though the quality is bad. If we use a sharp image, everything works fine:

Sharp barcode barcode-sharp

@felipetce
Copy link

felipetce commented Oct 30, 2021

@ViralInfocusp
Copy link

ViralInfocusp commented Feb 10, 2023

I am also getting wrong barcode detection when it's EAN-13
image

The actual barcode : 9100000013510
and it has detected : 2455340606005

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

7 participants