Importing Tesseract.js
Hello! I am hoping to use tesseract.js to do OCR in my application. However on deno 2.2.6, when I try
I get
Below is a minimal repro of the issue. Any help is appreciated, thank you!
https://github.com/will-weiss/deno-tesseract-repro
GitHub
GitHub - will-weiss/deno-tesseract-repro
Contribute to will-weiss/deno-tesseract-repro development by creating an account on GitHub.
2 Replies
tesseract.js switched from manually spawning a new node process to using web workers in newer versions, use tesseract.js version 3.0.2 or newer (project is using 2.1.1, newest is 6.0.0)
That was it, thank you!