tesseract-ocr / langdata

Source training data for Tesseract for lots of languages
Apache License 2.0
837 stars 889 forks source link

install language #297

Closed englianhu closed 2 years ago

englianhu commented 2 years ago
sudo add-apt-repository -y ppa:cran/poppler
sudo su - -c "R -e \"devtools::install_github('ropensci/pdftools')\""
sudo apt install *libtesseract-dev* libleptonica-dev* -y
sudo apt install tesseract-ocr-eng
sudo su - -c "R -e \"devtools::install_github('ropensci/tesseract')\""
sudo apt install tesseract-ocr-chi* -y