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

UPC-E/EAN-8 clash #97

Open
NaveenEcon opened this issue Dec 27, 2021 · 0 comments
Open

UPC-E/EAN-8 clash #97

NaveenEcon opened this issue Dec 27, 2021 · 0 comments

Comments

@NaveenEcon
Copy link

It is observed that when we try to detect the other ONE-D barcodes (like EAN-13,UPC-A,CODE 128 etc) it is found that UPC-E & EAN-8 were decoding as a false barcodes (I.e. It is not a actual UPC-E/EAN-8 barcode).
I have observed the detailed working of UPC-E algorithm for the false barcode detection. It was completely passing with the algorithm (zxing library)

  • It has proper Quite zone.
  • Start pattern was perfect.
  • Middle data was decoded with the proper check digit.
  • End pattern was also perfect.

So this works according to the algorithm, but for us that was actually a wrong data that is being decoded.
I am attaching the samples that is being decoded as the false barcodes.
Let me know if any way to eliminate the false detection of these barcodes.

MicrosoftTeams-image
Here you can see the UPC-E barcode was decoded inside the some other ONE-D barcode (CODE-39) in the frame.
This image shows what text was decoding and at what point it was failing and passing.
So here you can see due to 1:1:1 proportion for the START_CODE makes it easier to enter into the detection algorithm (decode middle in zxing lib). So it was completely matching with the algorithm and the ENCODING scheme at some point of time.
Even at times if there was no barcodes in the frame the UPC-E type was being decoded due to black, white transitions in the frame.

Image Samples of false barcode detection :

upce_479_300
Image
upce_313_210
upce_440_310

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