scheduler job not running #948
Replies: 2 comments 4 replies
-
Please update the example code so it can be easily run by other users to replicate the issue. This snippet references multiple objects/functions that are not defined in the snippet. At a glance, one possible issue is that this code appears to create an undefined number of workers, as a worker is created for every element in One of the primary reasons why the |
Beta Was this translation helpful? Give feedback.
-
regardless of this, even if i try to batch one worker at a time (without scheduler), |
Beta Was this translation helpful? Give feedback.
-
Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)
5.1.1
Describe the bug
then
clause does not get triggerred after first imageocrJobs[i] = ocrScheduler.addJob('recognize', ocrStack[i]).then((x) => console.log('\n',x.data.text));
To Reproduce
Expected behavior
All images in array
ocrScheduler
should be processedDevice Version:
Beta Was this translation helpful? Give feedback.
All reactions