-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
Worker loading language traineddata progress 0 #414
Comments
Sooo, the problem is in Firefox, with chrome I can get the text extracted |
I'm using chrome and experiencing the same problem. |
I have tried both Chrome and Firefox and it works perfectly. |
@jeromewu I'm actually on FF 73.0.1 (64bit) on Windows |
Hi @IAndreaGiuseppe, I have tried Firefox 74.0 (64bit) on Windows and it still works. Maybe you try Private Window in Firefox to avoid potential cache issue, and wait for a little more if your network is not fast. |
Hi @jeromewu and thank you, I'm almost again on the subject and will be able to test this process again soon. Please don't close this issue. |
I experience the same problem in firefox. |
I'm experiencing the same issue, but with any { workerId: "Worker-0-2c495", status: "loading language traineddata", progress: 0, userJobId: "Job-1-6281d" } Ubuntu, Firefox 96.0.2 (64-bit) |
The fix for me was to add cacheMethod: 'none' |
I think the only thing immediately actionable here is that the promise returned by It looks like this is the offending part--when a tesseract.js/src/worker-script/index.js Lines 147 to 153 in bce7cd8
|
I updated the master branch so now there should be no errors that do not lead to a message/promise rejection. This will be reflected in the next npm release ( |
Describe the bug
Using a basic example code I'm unable to get an extracted text from an image.
after this point nothing happen.
To Reproduce
simplest Vue component
Expected behavior
I expect to see a text message on console
Additional context
I'm doing a test on my localhost. I checked everything is correctly loaded. even traineddata file is correctly downloaded with status 200
The text was updated successfully, but these errors were encountered: