We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tesseract.js version (version number for npm/GitHub release, or specific commit for repo) "tesseract.js": "^5.0.3"
Describe the bug Call to createWorker results in:
createWorker
Error: Error: Network error while fetching https://cdn.jsdelivr.net/npm/@tesseract.js-data/en/4.0.0/en.traineddata.gz. Response code: 404
To Reproduce Steps to reproduce the behavior: npm i tesseract.js@latest
npm i tesseract.js@latest
import { createWorker } from "tesseract.js"; createWorker("en", 4)
Expected behavior Language data should be downloaded.
Device Version:
Additional context Manually adding the eng.traineddata file to my project root (like how it was downloaded in the past) does not work either
eng.traineddata
The text was updated successfully, but these errors were encountered:
en is not a valid language code. Presumably you mean eng for English. A full list of language codes can be found here.
en
eng
Sorry, something went wrong.
Thanks!
No branches or pull requests
Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)
"tesseract.js": "^5.0.3"
Describe the bug
Call to
createWorker
results in:To Reproduce
Steps to reproduce the behavior:
npm i tesseract.js@latest
Expected behavior
Language data should be downloaded.
Device Version:
Additional context
Manually adding the
eng.traineddata
file to my project root (like how it was downloaded in the past) does not work eitherThe text was updated successfully, but these errors were encountered: