安装 tesseract
- 1. Ubuntu-24.04 安装 tesseract
- 2. Ubuntu-24.04 安装支持语言
- 3. Windows 安装 tesseract
- 4. Oracle Linux 8 安装 tesseract
1. Ubuntu-24.04 安装 tesseract
sudo apt install tesseract-ocr
sudo apt install libtesseract-dev
reference: https://tesseract-ocr.github.io/tessdoc/Installation.html
2. Ubuntu-24.04 安装支持语言
sudo apt install tesseract-ocr-jpn
sudo apt install tesseract-ocr-chi-sim
reference: https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html
reference: https://github.com/tesseract-ocr/tesseract
3. Windows 安装 tesseract
访问 https://github.com/UB-Mannheim/tesseract/wiki 下载安装文件,下载完成后,双击 .exe 文件进行安装。
安装完成后,将安装路径配置到环境变量 Path 中就可以使用了。
4. Oracle Linux 8 安装 tesseract
sudo dnf install oracle-epel-release-el8
sudo dnf install tesseract-langpack-eng tesseract-langpack-jpn tesseract-ocr-chi-sim
sudo dnf install tesseract tesseract-devel