Reputation: 2522
Was looking for a way to access the camera/webcam from blazor (client webassembly) to create a QRcode reader. Any suggestions?
I've googled and looked in github for a qrcode scanner for blazor but had no success.
Upvotes: 9
Views: 10055
Reputation: 543
I made a Blazor nuget package to read QR Code based on jsQR.js lib.
Install package, 4 lines of code, you're done.
Upvotes: 13
Reputation: 71
I just created a simple PWA project using Dynamsoft JavaScript barcode SDK. If you don't mind it's a commercial SDK, you can try it out: https://github.com/dynamsoft-dbr/javascript-barcode/tree/6.x/examples/pwa.
and
Here you find the library with lots of examples
https://github.com/zxing-js/library
Upvotes: 2