I have a sample dotcode that will be lazer printed onto an item. I do not seem to be able to scan it with the following config and code as follows:
const config = new Barcode.Configuration(
“xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,
“xxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
null,
null
);
const api = new Barcode.BarcodeApi(config);
async function recognizeBarcode(api) {
const request = new Barcode.PostBarcodeRecognizeFromUrlOrContentRequest();
request.image = fs.readFileSync(“testfule.png”);
request.type = Barcode.DecodeBarcodeType.All;
request.preset = Barcode.PresetType.HighPerformance;
request.fastScanOnly = false;
const result = await api.postBarcodeRecognizeFromUrlOrContent(request);
return result.body.barcodes;
}
Please assist if there are any changes needed or if it is currently not possible to do so
download.png (22.1 KB)