I am running Microsoft Azures Computer Vision OCR using JavaScript and can only upload images with an HTML address.
var sourceImageUrl = document.getElementById("inputImage").value;
document.querySelector("#sourceImage").src = sourceImageUrl;
I would like to upload images from a local source to replicate this python code:
image_path = '/Users/FelixWallis/Desktop/Flask_t1/files'
image_data = open(image_path, "rb").read()
Is this possible, and if so how?