Skip to content

achilleas-michos/pdf-text-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

pip install -r requirements.txt

Install Tesseract 4

sudo add-apt-repository ppa:alex-p/tesseract-ocr

sudo apt-get update

sudo apt install tesseract-ocr tesseract-langpack-deu

brew install automake autoconf autoconf-archive libtool

brew install pkgconfig

brew install icu4c

brew install leptonica

brew install gcc

ln -hfs /usr/local/Cellar/icu4c/60.2 /usr/local/opt/icu4c

git clone https://github.com/tesseract-ocr/tesseract/

cd tesseract

./autogen.sh brew info icu4c

./configure \ CPPFLAGS=-I/usr/local/opt/icu4c/include \ LDFLAGS=-L/usr/local/opt/icu4c/lib

make -j

sudo make install

sudo update_dyld_shared_cache

make training

NLTK and Space packages

python -m nltk.downloader punkt averaged_perceptron_tagger

python -m spacy download en

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages