How to install Tesseract

382 views
Skip to first unread message

whitepur...@gmail.com

unread,
Oct 20, 2014, 9:01:11 AM10/20/14
to tesser...@googlegroups.com
I wonder if someone have instructions on how to install Tesseract? I have OS X Yosemite.I just installed it, so my laptop is very clean.

I have found some instructions for both MacPorts and Homebrew, and both fails with a series of errors. I tried compile it from source, using this:

      http://www.ultrasaurus.com/2013/07/building-tesseract-from-source/

but it fails with new errors when I try to run it. Especially this comes:

     Error in pixReadMemJp2k: function not present

It would be very nice if it could be a step by step how to install it. I see that most step by step omits to much steps, so I get lost.



Wes Fowlks

unread,
Oct 27, 2014, 11:10:23 AM10/27/14
to tesser...@googlegroups.com
Here is a basic build script to get you started, it handles all the dependencies, etc. You can modify it as needed. The script is meant for someone who does not have root privs.

https://groups.google.com/d/msg/tesseract-ocr/1mYSKfRs0jA/avZUrHb_gKwJ

iram akbar

unread,
Oct 29, 2014, 6:11:49 AM10/29/14
to tesser...@googlegroups.com
Hi,

                 I just need to know how to solve this JIT  error in the  Serak Tesseract Trainer while pressing Testing Tesseract
i have box file and tif file But still having this error. check the attached Image.
Error.jpg

Wes Fowlks

unread,
Oct 29, 2014, 10:11:45 AM10/29/14
to tesser...@googlegroups.com
It looks like you may have to build some of the other libraries that the script overlooks because I was not concerned with training. But those extra libraries can be found: 
sudo apt-get install libicu-dev      # (if you plan to make the training tools)
sudo apt
-get install libpango1.0-dev # (if you plan to make the training tools)
sudo apt
-get install libcairo2-dev   # (if you plan to make the training tools

Which can be found: https://code.google.com/p/tesseract-ocr/wiki/Compiling
Reply all
Reply to author
Forward
0 new messages