r1me / TTesseractOCR4

Object Pascal binding for tesseract-ocr - an optical character recognition engine
MIT License
145 stars 46 forks source link

Exception when running in debug mode #8

Closed shahriar-b closed 1 year ago

shahriar-b commented 6 years ago

I get the attached exception when i try to run the application using this library on debug mode image

This happens also to the attached demo, but working fine on release build config.

laggyluk commented 6 years ago

Having similar problem, examples work in release mode but it would be convenient to also have debug version of tesseract binaries in the repo. At least that's my guess why it doesn't work in debug build.

danieleteti commented 4 years ago

Any news about this?

r1me commented 1 year ago

Fixed with https://github.com/r1me/TTesseractOCR4/commit/6846137265414cb7f34209262aece2034e419889 However I recommend switching from CPPAN builds to Tesseract 4.1, that is set by undefining USE_CPPAN_BINARIES in tesseractocr.consts. Build obtainable from https://digi.bib.uni-mannheim.de/tesseract/