mebjas / html5-qrcode

A cross platform HTML5 QR code reader. See end to end implementation at: https://scanapp.org
https://qrcode.minhazav.dev
Apache License 2.0
4.73k stars 939 forks source link

[Feature Request] scanImage method #724

Open kirschkern opened 1 year ago

kirschkern commented 1 year ago

I use this library only for scanning QR codes on images in my vue.js project. For scanning these images it would be great to have a scanImage method as otherwise I always need to create File instances from each image to pass them to the scanFile method.

mebjas commented 1 year ago

what is the expected interface here?

Do you just need a UI less scan Image API?

kirschkern commented 1 year ago

Yes. I don't expect any UI for this.

jnaresh1995 commented 8 months ago

@mebjas Even i'm looking for a similar solution, to scan a file without any UI