Uaable to scan barcode sample

download.png (22.1 KB)
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(

“308b67a2-cfcb-4674-8c6f-d91e5f5cf9a8”,

“64c2e9bef0dd574375555df9f9759436”,

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

@Raynerlim,

It seems you are using Aspose.BarCode for Cloud, so I am moving your thread to respective category. One of our fellow colleagues from Aspose.BarCode for Cloud team will assist you soon.

This topic has been moved to the related forum: Uaable to scan barcode sample - Free Support Forum - aspose.cloud