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

Code 128 Support #30

Open
dko21 opened this issue Feb 3, 2022 · 3 comments
Open

Code 128 Support #30

dko21 opened this issue Feb 3, 2022 · 3 comments

Comments

@dko21
Copy link

dko21 commented Feb 3, 2022

How to Reproduce:

  1. Using vue-barcode-reader@0.0.3 (Vue 2.0 compatible version)
  2. ALTERNATIVELY, go to zxing-js demo or vercel demo for this package
  3. try to scan a code 128 type barcode that defines a part number * (denoted as P/N)
    ?. try indefinitely to get a result

*: I don't know how a part number barcode is differentiated from a regular Code 128 barcode aside from what's visibly obvious.

Problem:

Tried to scan a Code 128 type barcode, included in the supported formats within the ZXing library. As I understand, this package uses that to scan the barcodes. That type is apparently supported, as listed within the 1d Industrial type of barcodes, so:

  • Why can I not scan them?

  • Is anyone else having the same problem?

  • And, is it possible to write a wrapper of some sort that would let me do this?

Would appreciate some direction to pursue.
Thanks for reading

@galstyangroup
Copy link

I have the same problem.

@lalmat
Copy link

lalmat commented May 3, 2022

Code 128 has 3 subtypes (A,B,C). Maybe one of theses subtypes is not well recognized. By experience, code128 barcode with bad quality is often misreaded.

Can you give us some barecodes to reproduce the bug ?

@dko21
Copy link
Author

dko21 commented May 9, 2022

@lalmat Hello, I reckon (visually) it looks the most similar to a subtype C barcode, it's very dense and consists of only numeric information. I can't provide an example at the moment but will try to do so. Meanwhile, in case the issue manifests with online examples anyone may find, I'd be glad if you could let me know as well

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

3 participants