-
Notifications
You must be signed in to change notification settings - Fork 79
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 scans take a long time or do not scan at all since the newest version #55
Comments
Same here |
Same. It's intermittent, some take much longer than others |
In trying to resolve this issue, I discovered that resolving the zxing library dependency to the latest
|
@sk-tjdownes what versions of vue and the barcode reader are you using? For me that fix does not seem to work i still get slow or no scans. Could you maybe provide the project in which is its working for you? |
Project is a private repo, sorry |
@simonbaumeler I'm using yarn. If you're using npm, try |
I reverted to building my own component using "@zxing/library": "^0.20.0" directly, here is the code :
|
@sk-tjdownes i found the missing piece. When checking the package-lock.json i still got some 19x versions eventhough having: but
did the job. QR scanns are now almost instant and barcode scans are at least possible but still slow. But i think thats the nature of scanning barcodes without a laser. Thanks for you help. :) |
I've forked this library and added many enhancements which makes it work much better, including selecting the correct camera that supports autofocus, activating the torch (flash) and using the latest version of the zxing library. Check it out and let me know how it works for you: |
Well done. Have you submitted a pull request? Hoping we can get these enhancements back into the main repo |
Thank you @teckel12 . Cant wait to try it out. |
@sk-tjdownes This repo appears to be abandoned, other pull requests have gone unmerged, which I why I forked it and created a new npm package as a replacement. |
Referring to this issue in the demo repository: olefirenko/vue-barcode-reader-example#1
The text was updated successfully, but these errors were encountered: