Releases: naptha/tesseract.js-core
Releases · naptha/tesseract.js-core
v5.1.1
What's Changed
- Fixed bug getting boolean values per naptha/tesseract.js#907 (d19b54d)
Full Changelog: v5.1.0...v5.1.1
v5.1.0
What's Changed
- Added
getRowAttributes
function for getting row height/ascenders/descenders
Full Changelog: v5.0.0...v5.1.0
v5.0.0
What's Changed
- Added LSTM-only builds
- These builds can be identified by
lstm
in the name, and only support the (default) Tesseract LSTM model (and not Tesseract Legacy) - These builds are ~0.75MB smaller, with no downside for most users (who only use the LSTM model to begin with)
- These builds can be identified by
- Various changes to developer scripts/dependencies
Full Changelog: v4.0.4...v5.0.0
v4.0.4
- Improved auto-rotate feature (naptha/tesseract.js#747)
- Replaced
GetAngle
withGetGradient
, which estimates the page angle more accurately
- Replaced
- Renamed wasm module from
TesseractCoreWASM
toTesseractCore
to allow for using separate.js
/.wasm
files (naptha/tesseract.js#732)
Full Changelog: v4.0.3...v4.0.4
v4.0.3
- Updated Tesseract to 5.3.0
- Fixes bug with inverted (white on black) text naptha/tesseract.js#717
Full Changelog: v4.0.2...v4.0.3
v4.0.2
- Fixed bug breaking compatibility with certain devices (see naptha/tesseract.js#701)
Full Changelog: v4.0.1...v4.0.2
v4.0.1
- Edited
SetImageFile
to return status code to help resolve naptha/tesseract.js#699
Full Changelog: v4.0.0...v4.0.1
v4.0.0
What's Changed
- Various updates to support new Tesseract.js Version 4 features
Full Changelog: v3.0.2...v4.0.0
Note: Tesseract.js and Tesseract.js-core should be used with matching major versions. E.g. Tesseract.js v3 should only be used with Tesseract.js-core v3.
v3.0.2
Tesseract.js-core v3.0.1
Version 3.0.0 changes provide (1) a significant improvement in performance and (2) compatibility with Node.js 18.
- Updates Tesseract to version 5
- Added SIMD-enabled build
- This version is significantly faster on supported devices
- As SIMD support is only available on certain browsers/devices, it will be up to Tesseract.js and/or application developers to serve the correct version
- Depreciated asm.js build
- This version is not deleted, however has not been updated and will be deleted in next major release
- Updated emscripten version for compatibility with Node.js 18
- Refactored build scripts
- Added benchmark examples
- Added argument to rotate image based on exif orientation tag
- Orientation must be specified (not detected automatically)