Would it be possible to recognize and get the result of the barcode image without specifying the path, but rather than pointing to image source from data:image/jpeg;base64.
So instead of using imagePath, I will be referring to the imageData like:
var imgdata = 'data:image/jpeg;base64,/9j/4AAxxxxxxxx';
With this syntax:
ocrsdk.processImage(imagePath, settings, uploadCompleted);
Appreciate your help!