Hi, how can we pass hints to a BrowserMultiFormatReader constructor being called from client side JS?
The below doesn't work as it can't find DecodeHintType.
Since it's running client side import/require don't work.
I'm making use of the index.min.js script to run the scanners.
I need the FNC1 group separators to be included in the scan to process the information.
var hints = new Map();
hints.set(DecodeHintType.ASSUME_GS1, true)
const codeReader = new ZXing.BrowserMultiFormatReader(hints)
window.addEventListener('load', scanSetup())
Thanks in advance for the help.
ZXing.DecodeHintType.ASSUME_GS1
The other things are correct as I see.
Ah... so obvious. Thanks very much.