1、安装
sudo apt update sudo apt install -y tesseract-ocr sudo apt install -y tesseract-ocr-chi-sim # 中文简体 sudo apt install -y tesseract-ocr-eng # 英文
2、验证安装
tesseract --version
3、测试中文识别
echo "测试中文" > test.txt tesseract test.txt stdout -l chi_sim
Ubuntu24.04安装Tesseract OCR
| Title | Ubuntu24.04安装Tesseract OCR |
|---|---|
| Framework | Ubuntu |
| User | wy8817399@vip.qq.com |
| Id | 58 |
| Created | 2/24/26, 4:28 PM |
| Modified | 2/24/26, 4:29 PM |
| Published | Yes |
Content