You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tesseract.js skips the recognition step when all of the output formats requested do not require recognition. This allows for using Tesseract.js for image processing without waiting for recognition (the step with the longest runtime) to be completed. This behavior will also be critical if we add a way to get layout data without running recognition (requested in #656).
log('Skipping recognition: all output options requiring recognition are disabled.');
}
Unfortunately, this does not appear to be working correctly at present--recognition is still being run even when we intentionally skip running api.Recognize. It looks like something in the dump function is triggering Tesseract to automatically run recognition under the hood.
The text was updated successfully, but these errors were encountered:
Tesseract.js skips the recognition step when all of the output formats requested do not require recognition. This allows for using Tesseract.js for image processing without waiting for recognition (the step with the longest runtime) to be completed. This behavior will also be critical if we add a way to get layout data without running recognition (requested in #656).
tesseract.js/src/worker-script/index.js
Lines 355 to 359 in 15fdd9e
Unfortunately, this does not appear to be working correctly at present--recognition is still being run even when we intentionally skip running
api.Recognize
. It looks like something in thedump
function is triggering Tesseract to automatically run recognition under the hood.The text was updated successfully, but these errors were encountered: