Can I read barcodes from existing files?
Yes, the JavaScript SDK supports reading from a file in local memory. This can be achieved via the BarcodeReader
class instead of the BarcodeScanner
class.
let reader = await Dynamsoft.DBR.BarcodeReader.createInstance();
let results = await reader.decode(imageSource);
this article shows how to read barcodes from existing images and a list of supported input types.