Installing tesseract-ocr under Kali or tesseract python module

Punkachu
7 years ago

0

Hey I need an efficient OCR to extract data under 3 sec.

But is seems both install way or pretty painstakingly to do , is anyone can help me to setup the tesseract-ocr env ?

Tkx in advance !!!

2replies
2voices
425views
? [bolofecal]
7 years ago

0

Theres some error message?

Punkachu
7 years ago | edited 7 years ago

0

Okay Yeah sorry I have ofund the solution I wasn’t able to set up the needed library cause I did not update my kali first T , T :

Set up Library
sudo apt-get install libpng-dev libjpeg-dev libtiff-dev zlib1g-dev sudo apt-get install gcc g++ sudo apt-get install autoconf automake libtool checkinstall

Set up the image processing toolkit Leptonica to compile Tesseract :
wget http://www.leptonica.org/source/leptonica-1.7.tar.gz tar -zxvf leptonica-1.69.tar.gz cd leptonica-1.7 ./configure make sudo checkinstall sudo ldconfig

Compile and install tesseract :
wget https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.XX.tar.gz tar -zxvf tesseract-ocr-3.XX.tar.gz cd tesseract-ocr ./autogen.sh ./configure make sudo make install sudo ldconfig

Then install the needed data languages package : ]

Discussion thread has been locked. You can no longer add new posts.
1 of 3

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss