v5.1.0
Added 1
- Add line size metrics to blocks output including rowAttributes property with ascenders, descenders, and row_height metrics on line objects
From Tesseract.js
What's Changed
- Added line size metrics to
blocksoutput (#906)lineobjects now include a property namedrowAttributes, which is an object containingascenders,descenders, androw_heightmetrics- These metrics allow for manual font size calculations that are more accurate than using the
font_sizeproperty.
- Updates to documentation, types, and dependencies
New Contributors
- @Kishlay-notabot made their first contribution in https://github.com/naptha/tesseract.js/pull/896
- @k-nero made their first contribution in https://github.com/naptha/tesseract.js/pull/922
Full Changelog: https://github.com/naptha/tesseract.js/compare/v5.0.5...v5.1.0