r1me / TTesseractOCR4

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

Dose not work #9

Closed limelect closed 6 years ago

limelect commented 6 years ago

Simply said it dose not work Took data from https://github.com/tesseract-ocr/tesseract/wiki/Data-Files#data-files-for-version-400-november-29-2016
Ver 4 compile with Delphi 10.2.1 Load 2 demo picture On the simple one got text gifi'gégzgéégzizfiséZi,. On the more complex nothing except error at if (TessBaseAPIRecognize(FTessBaseAPI, FProgressMonitor) = 0) then floating point error

r1me commented 6 years ago

Those are not compatible trained data files. Please follow instructions, there are all required links in it. In step 3 it tells you download trained data files from master branch of the tesseract-ocr project: (https://github.com/tesseract-ocr/tessdata/)[https://github.com/tesseract-ocr/tessdata/] I will reopen the issue if it still fails for you to recognize text from sample files. (with proper setup)

limelect commented 6 years ago

Using your suggestion same problem OutPut >>>> gifi'gégzgéégzizfiséZi,. may be Unicode problem ? Delphi 10.2.1

r1me commented 6 years ago

Please compile example projects in Release mode. You are getting same results as with #7 I'm investigating the issue with Tesseract DLLs.

limelect commented 6 years ago

No matter what i do same result OutPut >>>> gifi'gégzgéégzizfiséZi,.