Hi all,
I have a solution for a client in NG that now needs to be able to scan & decode QR codes.
Years ago I found an app for iOS that allowed a browser within the scanning app and when you entered a Servoy field & clicked the 'scanner' button it would read whatever barcode it was pointed at & send the decoded output as text in to the field (it was called iCody but the company is now out of business).
I have imported the "svywebcam" component in to my solution which allows me to access the web cam & capture an image as base64, but I now need to do something with that image/base64 to convert it to the decoded QR code.
Does anyone here have any experience/code for decoding QR codes in Servoy, or a way for me to use something like
https://github.com/zxing/zxing
or
https://github.com/LazarSoft/jsqrcode
within my solution?
Or an online API that I can just pass my base64 to and get some JSON or similar back with the decoded QR code? [most online API's require a URL to a file to be sent & I don't really want to have to capture/encode/save image/call API each time...
If no one can answer the above, then please point in the direction of how to import & use "js" library files with code in them into my solution (I think I have to import the .js files in to my Media folder, but not sure what to do next??
Thanks
Rafi