Update README.md

This commit is contained in:
yanchunhuo 2020-03-18 18:54:24 +08:00 committed by GitHub
parent c950d32b15
commit f471662195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -78,15 +78,16 @@
* 将下载的字库放到common/java/lib/tess4j/tessdata/
* Linux
* 安装依赖
* sudo apt install pkg-config aclocal libtool automake libleptonica-dev
* ubuntu:sudo apt install pkg-config aclocal libtool automake libleptonica-dev
* centos:yum install autoconf automake libtool libjpeg-devel libpng-devel libtiff-devel zlib-devel
* 安装leptonica下载leptonica-1.78.0.tar.gz下载地址https://github.com/DanBloomberg/leptonica/releases
* 安装步骤同tesseract-ocr的安装
* 安装tesseract-ocr下载tesseract-4.1.1.tar.gz下载地址https://github.com/tesseract-ocr/tesseract/releases
* ./autogen.sh
* ./configure
* sudo make
* sudo make install
* sudo ldconfig
* 安装leptonica下载leptonica-1.78.0.tar.gz下载地址https://github.com/DanBloomberg/leptonica/releases
* 安装步骤同tesseract-ocr的安装
* Windows
* 安装Microsoft Visual C++ 2019 Redistributable下载地址https://visualstudio.microsoft.com/zh-hans/downloads/