fix(deps): update dependency tesseract.js to v4 #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.3
->^4.0.0
Release Notes
naptha/tesseract.js
v4.0.2
Compare Source
What's Changed
Full Changelog: naptha/tesseract.js@v4.0.1...v4.0.2
v4.0.1
Compare Source
What's Changed
recognize
ordetect
with invalidimage
argument now throws error message (#699)langdata
paths (#697)New Contributors
Full Changelog: naptha/tesseract.js@v4.0.0...v4.0.1
v4.0.0
Compare Source
Breaking Changes
createWorker
is now asyncworker = Tesseract.createWorker()
should be replaced withworker = await Tesseract.createWorker()
workerPath
orcorePath
now produces error/rejected promise (#654)worker.load
is no longer needed (createWorker
now returns worker pre-loaded)getPDF
function replaced bypdf
recognize option (#488)Major New Features
imageColor
,imageGrey
, andimageBinary
options (#588)rotateAuto
androtateRadians
have been added, which significantly improve accuracy on certain documentsrotateAuto
optionworker.setParameters
) can now be set for single jobs usingworker.recognize
options (#665)worker.recognize(image, {tessedit_char_whitelist: "0123456789"})
load_system_dawg
,load_number_dawg
, andload_punc_dawg
) can now be set (#613)worker.initialize
now accepts either (1) an object with key/value pairs or (2) a string containing contents to write to a config fileload_number_dawg
to 0:worker.initialize('eng', "0", {load_number_dawg: "0"});
worker.initialize('eng', "0", "load_number_dawg 0");
Other Changes
loadLanguage
now resolves without error when language is loaded but writing to cache failsdetect
returnsnull
values when OS detection fails rather than throwing error (#526)New Contributors
Full Changelog: naptha/tesseract.js@v3.0.3...v4.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.