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

zbarimg unable to parse a QR code that are parseable by iPhones #302

Open
hq6 opened this issue Nov 11, 2024 · 0 comments
Open

zbarimg unable to parse a QR code that are parseable by iPhones #302

hq6 opened this issue Nov 11, 2024 · 0 comments

Comments

@hq6
Copy link

hq6 commented Nov 11, 2024

Here are two different QR Codes of the a string consisting of 1000 repeated 'a''s.

Sample A
Generated_By_QREncode

Sample B
Generated_By_EasyQRCodeJS

Sample A is parsable by zbarimg.
Sample B is parsable by every iPhone I've tried but not by zbarimg, which produces the following output when I try to parse it:

scanned 0 barcode symbols from 1 images in 0.2 seconds

WARNING: barcode data was not detected in some image(s)
Things to check:
  - is the barcode type supported? Currently supported symbologies are:
    . EAN/UPC (EAN-13, EAN-8, EAN-2, EAN-5, UPC-A, UPC-E, ISBN-10, ISBN-13)
    . DataBar, DataBar Expanded
    . Code 128
    . Code 93
    . Code 39
    . Codabar
    . Interleaved 2 of 5
    . QR code
    . SQ code
  - is the barcode large enough in the image?
  - is the barcode mostly in focus?
  - is there sufficient contrast/illumination?
  - If the symbol is split in several barcodes, are they combined in one image?
  - Did you enable the barcode type?
    some EAN/UPC codes are disabled by default. To enable all, use:
    $ zbarimg -S*.enable <files>
    Please also notice that some variants take precedence over others.
    Due to that, if you want, for example, ISBN-10, you should do:
    $ zbarimg -Sisbn10.enable <files>
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