Skip to content

Releases: naptha/tesseract.js

v4.1.3

28 Sep 02:04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.2...v4.1.3

v4.1.2

28 Aug 04:36
Compare
Choose a tag to compare

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 during initialize (#816)
  • Minor edits to reduce memory use (#815)
  • Minor changes to documentation, types, and example code (#575, #791, #803, #805, #810, #817)

New Contributors

Full Changelog: v4.1.1...v4.1.2

v4.1.1

21 Jun 05:14
Compare
Choose a tag to compare

What's Changed

  • Fixed detection of image orientation metadata (#783)
    • Allows Tesseract.js to work with images taken on iOS devices
  • Minor changes to documentation and types (#781, #782, #778)

New Contributors

Full Changelog: v4.1.0...v4.1.1

v4.1.0

03 Jun 00:57
Compare
Choose a tag to compare

What's Changed

  • Added ability to run layout analysis without recognition (#656)
  • 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 and resolve-url dependencies (#773, #711)

Full Changelog: v4.0.6...v4.1.0

v4.0.6

16 May 03:23
Compare
Choose a tag to compare

What's Changed

  • Invalid langData (.traineddata files) are now cleared from cache (#753)
    • Note: setting cacheMethod: 'none' or cacheMethod: 'refresh' to prevent invalid files from being cached should no longer be necessary
  • Added source maps to esm build (#761)
  • Various updates to documentation

Full Changelog: v4.0.5...v4.0.6

v4.0.5

03 May 01:52
Compare
Choose a tag to compare

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

01 May 00:57
Compare
Choose a tag to compare

What's Changed

  • Added SIMD-detection when corePath is manually specified (#735)
    • Important note for users who set corePath: for significantly faster performance, set corePath to a directory that includes both tesseract-core.wasm.js and tesseract-core-simd.wasm.js
    • See this comment for explanation
  • 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

30 Mar 02:41
Compare
Choose a tag to compare

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

Full Changelog: v4.0.2...v4.0.3

v4.0.2

18 Dec 06:16
Compare
Choose a tag to compare

What's Changed

  • Fixed bug breaking compatibility with certain devices (#701)

Full Changelog: v4.0.1...v4.0.2

v4.0.1

10 Dec 05:17
Compare
Choose a tag to compare

What's Changed

  • Running recognize or detect with invalid image argument now throws error message (#699)
  • Fixed bug with custom langdata paths (#697)

New Contributors

Full Changelog: v4.0.0...v4.0.1