TTesseractOCR4 icon indicating copy to clipboard operation
TTesseractOCR4 copied to clipboard

TessBaseAPISetPageSegMode

Open tothpaul opened this issue 6 years ago • 1 comments

under Tokyo 10.2.2 (Windows 8, french), the VCL Image demo returns "gifi'gégzgéégzizfiséZi,." for eng-text.png until I comment out the line Tesseract.PageSegMode := TessPageSegMode(cbPageSegMode.ItemIndex);

the multi-page image returns nothing with the PageSegMode, and approximative text without it

tesseract

the console mode application works well for both images.

tothpaul avatar Jun 04 '18 09:06 tothpaul

You are having similar issues as with #9. You are most likely using wrong data files. Please download data files from https://github.com/tesseract-ocr/tessdata/ as stated in the instructions. I'll be willing to assist if that's not the case. Actually I was able to reproduce issue with "gifi'gégzgéégzizfiséZi,." text, please build example projects in Release mode. In Debug mode Tesseract gets funky. I will be investigating this issue more.

r1me avatar Sep 26 '18 11:09 r1me