1/28/2024 0 Comments Javascript qr code readerThe easier route might be to use their code in an iframe instead of the context of a Hype document and communicate back to a Hype document via postMessage, but even then it seems you’d need to do modifications to get this to work right. Note you must export as “index” for this to work at all I had to change the WORKER_PATH variable in to have this instead of their invalid path. Here’s the work I did that gets that far: Maybe some other javascript expert can spend time with it. No errors were logged when I got this far, so without spending a lot more time I’m not sure what the issue would be. Even changing these, I was not able to get more than a black screen for the video and it did not do QR detection. It also appears they have hard coded paths in their library that are required to be fulfilled. The plugin can detect and scan the value of a barcode or qr code presented in the front of the. First, it appears their instructions are overly simplistic and make several assumptions about the user environment. WebCodeCam is a jQuery plugin for barcode and qr-code reading. In theory there shouldn’t be a problem using that library, but in practice I had significant trouble and was never able to get it to work. The reason why using QR codes is so important is that a lot of my users can’t spell or read but can use a smart phones so this project will allow them to log data with taking a picture of their own unique QR code.Ĭan anyone help me with this or let me know if its possible? In the testing, although taking a picture of QR code works, it was difficult for the users to understand the process of taking the picture then waiting for the results (which in a lot of occasions were negative as shaking hands or blurred pictures meant the QR codes couldn’t be read). QR codes can be used for online payments, web navigation or establishing social media connections, Aztec codes can be used to scan boarding passes and shopping apps can use EAN or UPC barcodes to compare prices of physical items. I’m using this QR scanning technology as I’m trying to create a web app for people with intellectual / learning disabilities so I need it to be a quick and easy as possible. Support for barcode recognition within web apps unlocks a variety of use cases through supported barcode formats. Is there anyway I can import or use this QR scanner into hype : So I’ve used the method to scan a QR code above and it works great however I want to progress onto live scanning the QR codes rather than taking a picture.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |