Open cdupont opened 5 years ago
Have you checked this library called react-html5-camera-photo. https://www.npmjs.com/package/react-html5-camera-photo for taking camera picture. opens camera
and this library can decode qrcode called react-qr-reader -> https://www.npmjs.com/package/react-qr-reader . Here is an other blog -> https://hackernoon.com/react-js-qr-code-scanner-with-webworker-in-background-7a8bcefd43d
When on mobile phone, it seems possible to use the camera of the phone: https://stackoverflow.com/questions/8581081/how-to-access-a-mobiles-camera-from-a-web-app
This can be useful for scanning QR codes. This code would be printed on stickers and applied on Waziup devices. The QR code would contain name and sensor details of that device.