Scanner for static images, typically provided via an HTML input element.
Remarks
Make sure that the input image is sharp, and that the code to be scanned is in focus. Some images might not scan
using ImageScanner, but can be scanned using camera-based scanning (BarcodeReader, PopupScanner). This is due to
more frames being available for decoding, increasing the chances of getting a good quality sample.
Scanner for static images, typically provided via an HTML input element.
Remarks
Make sure that the input image is sharp, and that the code to be scanned is in focus. Some images might not scan using ImageScanner, but can be scanned using camera-based scanning (BarcodeReader, PopupScanner). This is due to more frames being available for decoding, increasing the chances of getting a good quality sample.
Example
HTML:
JavaScript: