New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some kind of how-to for using Tesseract-OCR #14

Open
amirrajan opened this Issue Aug 24, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@Siggs2000

This comment has been minimized.

Show comment
Hide comment
@Siggs2000

Siggs2000 Aug 25, 2017

I think I've figured it out. I put the tessdata folder in /resources and followed the data file solution form this github issue: gali8/Tesseract-OCR-iOS#299

I also added the english language "cube data" from this repo: https://github.com/tesseract-ocr/tessdata/tree/bf82613055ebc6e63d9e3b438a5c234bfd638c93

And then finally I initialized the library to use CubeCombined mode when initializing the library. Here is my initialization code:

   tesseract = G8Tesseract.alloc.initWithLanguage("eng")
    tesseract.delegate = self
    tesseract.engineMode = G8OCREngineModeTesseractCubeCombined
    tesseract.pageSegmentationMode = G8PageSegmentationModeAutoOSD

Siggs2000 commented Aug 25, 2017

I think I've figured it out. I put the tessdata folder in /resources and followed the data file solution form this github issue: gali8/Tesseract-OCR-iOS#299

I also added the english language "cube data" from this repo: https://github.com/tesseract-ocr/tessdata/tree/bf82613055ebc6e63d9e3b438a5c234bfd638c93

And then finally I initialized the library to use CubeCombined mode when initializing the library. Here is my initialization code:

   tesseract = G8Tesseract.alloc.initWithLanguage("eng")
    tesseract.delegate = self
    tesseract.engineMode = G8OCREngineModeTesseractCubeCombined
    tesseract.pageSegmentationMode = G8PageSegmentationModeAutoOSD

@amirrajan amirrajan changed the title from Same of how to use Tesseract-OCR to Some of how-to for using Tesseract-OCR Sep 16, 2017

@amirrajan amirrajan changed the title from Some of how-to for using Tesseract-OCR to Some kind of how-to for using Tesseract-OCR Sep 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment