Describe the bug
I have a simple html with script tags as follows.
<script src='https://unpkg.com/tesseract.js@v2.1.0/dist/tesseract.min.js'></script>
<script>
window.onload = async () => {
const worker = Tesseract.createWorker({
logger: m => console.log(m)
});
await worker.load();
await worker.loadLanguage('eng');
await worker.initialize('eng');
const recData = await worker.recognize('https://tesseract.projectnaptha.com/img/eng_bw.png');
console.log('=====recData===', recData);
await worker.terminate();
}
</script>
When the page loads, i the following logs on the console, and nothing else happens. What am I doing wrong?
Environment
g8up, songdy and mateus4k
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4