vue-barcode-reader icon indicating copy to clipboard operation
vue-barcode-reader copied to clipboard

bar code detection speed

Open mquevedob opened this issue 2 years ago • 2 comments

hello guys

i installed this module in my vue project and i noticed sometimes it is like it does not detect the barcode however i tested the one in Vercel and that one works really well it is really fast

what would be the difference?

mquevedob avatar Aug 04 '23 12:08 mquevedob

As sk-tjdownes said in a previous issue

package.json:

"resolutions": { "@zxing/library": "^0.20.0" }

this solves it

mquevedob avatar Aug 09 '23 15:08 mquevedob

@mquevedob As this project seems abandoned, I've forked it 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 (which solves the speed issue). Check it out and let me know how it works for you:

https://github.com/teckel12/vue-barcode-reader

teckel12 avatar Aug 14 '23 23:08 teckel12