Skip to content
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

Tesseract 4.0 #311

Open
ekrivopaltsev opened this issue Feb 15, 2017 · 16 comments
Open

Tesseract 4.0 #311

ekrivopaltsev opened this issue Feb 15, 2017 · 16 comments

Comments

@ekrivopaltsev
Copy link

Hi Folks,

Do you have on a roadmap a plan to have a new version based on Tesseract 4.x ? I saw preliminary results and it seems 4.x has a lot of potentials.

Thanks,
--eugene

@xwal
Copy link

xwal commented Feb 17, 2017

Hi,I have forked this repo, and update to the new version 4.00.000alpha. https://github.com/chaoskyme/Tesseract-OCR-iOS.git
You can use it with Pod. pod 'TesseractOCRiOS', :git => 'https://github.com/chaoskyme/Tesseract-OCR-iOS.git'

@ekrivopaltsev
Copy link
Author

ekrivopaltsev commented Feb 17, 2017 via email

@xwal
Copy link

xwal commented Feb 17, 2017

You can download for https://github.com/tesseract-ocr/tessdata/tree/4d64457aacbc781a94d6aefc125765c3949c8827, tessdata release only has 3.04.00 and 4.00, so you can browse before 3.04.00 release commit.
Or, you also can download for https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar, there are tesseract 3.02 traineddata.

@ekrivopaltsev
Copy link
Author

ekrivopaltsev commented Feb 17, 2017 via email

@davecoffin
Copy link

@chaoskyme Hey there, I am trying to update to the 4.0alpha based on this recommendation:
tesseract-ocr/tesseract#963 (comment)

I updated my Podfile to your fork but I am getting the exact same results as I got the above referenced issue. Would you mind testing that file and seeing if you get the same odd result? I am using these tessdata files: https://github.com/tesseract-ocr/tessdata/releases/tag/3.04.00

Just the english language, are these the right files?
screen shot 2017-05-31 at 12 25 37 pm

@nilinyi
Copy link

nilinyi commented Aug 25, 2017

@chaoskyme Hi, thank you so much for updating it to 4.0.0 version. By any chance you can share your experiences how you compile the source code? I followed the instructions but did not work for me. 十分感谢!

@xwal
Copy link

xwal commented Aug 28, 2017

@nilinyi Hi, there has a makefile in the TesseractOCR directory, you can run make to build libs.

@nilinyi
Copy link

nilinyi commented Sep 12, 2017

@chaoskyme Thank you so much! However, I got the same problem as the one described here.
Issue #327
By the way, I also updated the libpng in the makefile to be version 1.6.32.

image

@drwjf
Copy link

drwjf commented Oct 3, 2017

@chaoskyme

Thanks for your fork to support V4.0 Alpha.
And it supports traditional traineddata (file size is larger) very well.

The problem is that it does not support new LSTM traineddata (file size is smaller), for example, fast OR best.

it reports the following error message:

"Failed loading language 'eng'
"Tesseract couldn't load any languages!""

Any clue to solve this issue?

Many Thanks!

@leinakesi
Copy link

@drwjf instead of using G8Tesseract(language:"eng"), use G8Tesseract(language:"eng", engineMode:G8OCREngineMode.cubeOnly)

@kevlud
Copy link

kevlud commented Nov 19, 2017

@leinakesi Such a basic knowledge but still saved my day!

@hactar
Copy link

hactar commented Sep 9, 2018

Has anyone managed to update that fork to a newer version of tesseract? The make file fails for me:

../../src/gplot.c:399:14: error: 'system' is unavailable: not available on iOS
    ignore = system(buf);  /* gnuplot || wgnuplot */

@oleghnidets
Copy link

Hi there,
Any updates on that? :)

@xwal
Copy link

xwal commented Dec 7, 2018

Hi, everyone. I have upgraded tesseract from 4.00.000alpha to 4.0.0 release. Wellcome PR to improvement it. https://github.com/chaoskyme/Tesseract-OCR-iOS

@KGDeveloper
Copy link

Hi, I want to ask you that I developed ios and I used my own training library in my project but unfortunately it gave me a bug and I crashed

@hejtmii
Copy link

hejtmii commented Oct 20, 2019

Hey guys, for trouble with compilation, check this out.

xwal#3

I faced the same issues while upgrading to Tesseract 4.1, and after thorough (and painful) investigation got it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests