16 Nisan 2024 00:49

Anasayfa

undefined...

Ubuntu 16.04 Tesseract 4 Kurulumu

 

sudo -s
 

add-apt-repository ppa:ubuntu-toolchain-r/test -y; add-apt-repository ppa:alex-p/tesseract-ocr -y;
 

clear; apt autoremove -y; apt autoclean; apt update; apt upgrade -y; apt autoremove -y; apt autoclean; clear
 

apt install -y unzip build-essential python-dev python python-pip python-setuptools autoconf automake libtool autoconf-archive pkg-config libpng12-dev libjpeg8-dev libtiff5-dev zlib1g-dev libicu-dev libpango1.0-dev libcairo2-dev; sudo -H pip install -y cython; clear
 

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
 

wget http://www.leptonica.org/source/leptonica-1.75.3.tar.gz; tar xf leptonica-1.75.3.tar.gz; cd leptonica-1.75.3; ./configure; make; make install
 

 

apt update; apt install -y libleptonica-dev; ldconfig
 

wget https://github.com/tesseract-ocr/tesseract/archive/master.zip; unzip tesseract-master.zip
 

cd tesseract-master; sh autogen.sh; ./configure; LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make; make install; make install -langs; ldconfig
 

 

Ubuntu

hakkında diğer konular

Makdos Bilişim Teknolojileri 2015 - 2022