-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] Not able to scan the barcode of this image using this library, however able to scan it with the phone app #20
Comments
IMHO the quality of that image is just too low for being scanned by zbar. Could you please tell me which online barcode readers you were using and which barcode type they reported? Thank you. |
Thank you @kotasudhakar for the list. https://online-barcode-reader.inliteresearch.com/ reports a module size of 1.8px which makes this quite an edge case. https://nanonets.com/barcode-scanner did not scan the barcode at all, it just detected the characters above and below the barcode. Since |
Hi @undecaf, maybe have a try on this one https://zxing-wasm-demo.deno.dev/, when binarizer is switched to |
Thank you @kotasudhakar, @zcattacz for your contributions to this issue. IMHO, it is not a bug if a scanner is not able to recognize a barcode because of low image quality -- it is just a consequence of the amount of detection effort in the scanning algorithm.
Therefore I hope you understand that I am closing this issue. |
Describe the bug
Not able to detect barcodes in certain cases like in the image attached, while it is completely working barcode and tried to scan the same with some online barcode readers and with my phone both worked fine.
To Reproduce
A minimal working example that reproduces the behavior would be much appreciated.
Or else the environment in which the behavior occurs needs to be specified:
package.json
contentExpected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: