Skip to content

Releases: sirfz/tesserocr

tesserocr v2.4.0

05 Dec 14:42
Compare
Choose a tag to compare

Tesseract v4 new API methods supported:

  • GetBestLSTMSymbolChoices (#147)
  • BlanksBeforeWord (#158)

tesserocr v2.3.1

13 Aug 17:38
Compare
Choose a tag to compare

Python 3.7 support release.

tesserocr v2.3.0

26 Jun 15:21
Compare
Choose a tag to compare
  • Support for Tesseract 4
    • New OCR engines LSTM_ONLY and TESSERACT_LSTM_COMBINED
    • New default tessdata path handling (#104)
  • Fixed compilation against Tesseract v3.05.02 which required c++11 (#120)
  • Fallback to 'eng' as default language when default language returned by the API is empty (#103)
  • Added notes about Windows installation in the README (#97)

tesserocr v2.2.2

26 Jul 18:52
Compare
Choose a tag to compare
  • Support timeout in Recognize API methods (#55)
    • You can now pass a timeout parameter (milliseconds) to the Recognize and RecognizeForChopTest API methods.
  • Fixed typo in _Enum initialization error message formatting (#56)
  • Display tessdata path in init exception message (#60)
  • Fixed version check in Python 3 when reading the version number from the tesseract executable (#60)

tesserocr v2.2.1

31 May 19:51
Compare
Choose a tag to compare

Fixed setup bug that affects gcc versions with no -std=c++11 option support (which should be required by tesseract 4.0+ and not older versions). #53

tesserocr v2.2.0

28 May 15:01
Compare
Choose a tag to compare
  • Improved setup script
  • Tesseract 4.0 support:
    • Two new OEM enums: OEM.LSTM_ONLY and OEM.TESSERACT_LSTM_COMBINED (tesseract 4.0+)
    • Two new API methods: GetTSVText and DetectOrientationScript (tesseract 4.0+)
    • PyTessBaseApi.__init__ now accepts a new attribute oem (OCR engine mode: OEM.DEFAULT by default).
    • file_to_text and image_to_text functions now also accept the oem attribute as above.
  • Fixed segfault on API Init* failure
  • Fixed segfault when pixa_to_list returns NULL
  • Documentation fixes and other minor improvments

tesserocr v2.1.3

12 Nov 13:50
Compare
Choose a tag to compare

Bug fix release:

  • Improved setup: attempt compile with default environment variables even if pkg-config fails
  • WordFontAttributes now returns None instead of segfaulting when NULL pointer is returned by API

tesserocr v2.1.2

08 Jun 11:58
Compare
Choose a tag to compare
  • Avoid crash for unexpected cflags returned by pkg-config (#14)
  • Added note in README regarding multiple tesseract installations (#9)

tesserocr v2.1.1

03 Jun 21:33
Compare
Choose a tag to compare
  • Improved PIL image conversion to Pix: preserve original image format (#5)
  • Added DetectOS api method (#6)
  • Support TessOsdRenderer introduced in tesseract v3.04.01
  • Improved setup environment detection
  • Python 3 support