While referencing a live Codepen demonstration available at this link, the application functions correctly when the "choose file" button is clicked to upload an image from the local computer and extract text from it. However, my question is how can I upload a Web Image URL such as this one, rather than from local files, using a button that I have designated in my demonstration to output the OCR text result?
Any assistance would be greatly appreciated :)
<div class="content extra"><input id="file" type="file" onchange="process(window.lastFile=this.files[0])"></div>
I have attempted changing the "onchange" attribute to "onclick", but it did not work.