abhiTronix / OpenCV_Raspberry_pi_TBB

Latest pre-compiled binary of Pre-released & Stable OpenCV (4.0.0) along with TBB (2018-Update 6) for Raspberry Pi.
Other
47 stars 6 forks source link

libtesseract.so.4 not found error in demo file #1

Closed abhiTronix closed 5 years ago

abhiTronix commented 5 years ago

Solution:

install Leptonica(install from source)

wget http://www.leptonica.com/source/leptonica-1.76.0.tar.gz
tar xvf leptonica-1.76.0.tar.gz
cd leptonica-1.76.0/
./configure
make -j2
sudo make install
sudo ldconfig

then

install Tesseract(install from source)

wget https://github.com/tesseract-ocr/tesseract/archive/4.0.0.zip -O tesseract-4.0.0.zip
unzip tesseract-4.0.0.zip && mv tesseract-4.0.0 tesseract
cd tesseract
./autogen.sh
./configure
make -j2
sudo make install
sudo ldconfig

Problem Solved :+1: