this is a simple app that detects ar.js markers, scans qr-codes within, queries our office's inventory api for metadata and displays the result as an augmented reality overlay
used libraries:
- ar.js for (almost) everything (which uses three.js for 3d rendering)
- qrcode.js / instascan for qr code reading
compatible inventory system
- snipeit v >= 4
to run:
- copy config.json.example -> config.json ** base URL of the API ** API auth key as generated in the User interface
- fill in config details
- $ node src/index.js
- open localhost:3000 in browser
to generate a qr code, simply use https://jeromeetienne.github.io/AR.js/three.js/examples/arcode.html