Skip to content

tesserocr v2.2.0

Compare
Choose a tag to compare
@sirfz sirfz released this 28 May 15:01
· 126 commits to master since this release
  • 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