Releases: naptha/tesseract.js
Releases · naptha/tesseract.js
v4.1.3
What's Changed
- Detect browsers in a Deno-compatible way by @yudai-nkt in #821
- Minor changes (#821, ff173ce)
New Contributors
- @yudai-nkt made their first contribution in #821
Full Changelog: v4.1.2...v4.1.3
v4.1.2
What's Changed
- Fixed bug causing excessive memory use when using
FS
+writeFile
function (#812) - Fixed bug where setting output option
debug: true
was forcing recognition to be run (#788) - Added warning message when
setParameters
is used to set options that can only be set duringinitialize
(#816) - Minor edits to reduce memory use (#815)
- Minor changes to documentation, types, and example code (#575, #791, #803, #805, #810, #817)
New Contributors
- @Simple7575 made their first contribution in #791
- @jiakuan made their first contribution in #805
- @omarboulbaze made their first contribution in #575
Full Changelog: v4.1.1...v4.1.2
v4.1.1
What's Changed
- Fixed detection of image orientation metadata (#783)
- Allows Tesseract.js to work with images taken on iOS devices
- See this comment for explanation
- Allows Tesseract.js to work with images taken on iOS devices
- Minor changes to documentation and types (#781, #782, #778)
New Contributors
- @racosa made their first contribution in #781
- @Tshetrim made their first contribution in #782
- @l2ysho made their first contribution in #778
Full Changelog: v4.1.0...v4.1.1
v4.1.0
What's Changed
- Added ability to run layout analysis without recognition (#656)
- See this comment for instructions
- Added support for
OffscreenCanvas
in browser version by @nathanbabcock (#766) - Fixed bug where
recognize
was running OCR even when not necessary (#769) - Fixed bug where certain valid
langPath
URLs caused errors in browser version (#558) - Removed problematic
file-type
andresolve-url
dependencies (#773, #711)
Full Changelog: v4.0.6...v4.1.0
v4.0.6
What's Changed
- Invalid langData (
.traineddata
files) are now cleared from cache (#753)- Note: setting
cacheMethod: 'none'
orcacheMethod: 'refresh'
to prevent invalid files from being cached should no longer be necessary- See this comment for an explanation
- Note: setting
- Added source maps to esm build (#761)
- Various updates to documentation
Full Changelog: v4.0.5...v4.0.6
v4.0.5
What's Changed
- No changes to code
- Removed unnecessary files to reduce the size of the npm package
Full Changelog: v4.0.4...v4.0.5
v4.0.4
What's Changed
- Added SIMD-detection when
corePath
is manually specified (#735)- Important note for users who set
corePath
: for significantly faster performance, setcorePath
to a directory that includes bothtesseract-core.wasm.js
andtesseract-core-simd.wasm.js
- See this comment for explanation
- Important note for users who set
- Improved auto-rotate feature (
rotateAuto: true
) (#747) - Switched default CDN from unpkg to jsdelivr (#743)
- Updated various dependencies (#729, #736, #737, #739, #741)
- Reduced size of npm package (#731, #734, #740)
New Contributors
Full Changelog: v4.0.3...v4.0.4
v4.0.3
What's Changed
- Updated Tesseract to v5.3.0
- This resolves bug with inverted (white on black) text recognition (#717)
- Minor documentation fixes (#612, #614, #682, #673)
- Better types for
addJob
by @nathanbabcock in #719
New Contributors
- @Sacramentix made their first contribution in #612
- @Porush made their first contribution in #682
- @eltociear made their first contribution in #673
- @Woutervdvelde made their first contribution in #614
- @nathanbabcock made their first contribution in #719
Full Changelog: v4.0.2...v4.0.3
v4.0.2
v4.0.1
What's Changed
- Running
recognize
ordetect
with invalidimage
argument now throws error message (#699) - Fixed bug with custom
langdata
paths (#697)
New Contributors
- @fmonpelat made their first contribution in #697
Full Changelog: v4.0.0...v4.0.1