Testing example app for
scanthng.js in the stream scanning
mode, allowing you to test scanning many kinds of barcodes on product packaging,
including non-barcode image recognition functionality.
- Clone this repository.
- Deploy to a web server, or run locally with
npm run serve.
- Open the page.
- Enter an Application API Key from an EVRYTHNG application into the Options
section, or specify with the
- Click 'Start Camera' to begin scanning a stream with the set options. You can change the options and click this button again to apply them.
- Place a QR code or other kind of barcode in front of the camera to see the output from the SDK. If the 'Redirect to URL' option is set, the browser will automatically follow that URL.
The options allow you to control the behavior of the app:
- Whether or not to redirect to a scanned URL when it is found.
- The scanning type (native QR code, API-based barcode, or image recognition)
- The Application API Key (required) that is used to initialise the SDK.