Error with Tesseract js


I need help. I am trying to generate a code that shows the text in an image and I found the Tessereact.js library, but when the use shows me this error


Uncaught DOMException: Failed to execute 'getImageData' on   'CanvasRenderingContext2D': The canvas has been tainted by   cross-origin data.

<!DOCTYPE html>
    <meta charset="utf-8">
    <script src=''></script>
    <img src=""/>
        var img = document.getElementsByTagName("img")[0];
        Tesseract.recognize(img, function(result) {

I need please to help, I am very interested in completing this project. Thanks

asked by Andres Miguel Campos 24.11.2018 в 01:17

0 answers