macOS
brew install tesseractlocal Homebrew formula metadata
sudo port install tesseractMacPorts ports tree · textproc/tesseract/Portfile · 来源: api.github.com
安装
brew install tesseractlocal Homebrew formula metadata
sudo port install tesseractMacPorts ports tree · textproc/tesseract/Portfile · 来源: api.github.com
sudo dnf install tesseractFedora Rawhide package metadata · tesseract · 来源: dl.fedoraproject.org
nix profile install nixpkgs#tesseractnixpkgs package indexes · tesseract · 来源: raw.githubusercontent.com
sudo pacman -S tesseractArch Linux sync databases · tesseract · 来源: geo.mirror.pkgbuild.com
sudo zypper install tesseractopenSUSE Tumbleweed package metadata · tesseract · 来源: download.opensuse.org
sudo apt install libtesseract-devDebian stable package indexes · libtesseract-dev · 来源: deb.debian.org
choco install tesseractChocolatey community package catalog · tesseract · 来源: community.chocolatey.org
scoop install main/tesseractScoop official bucket manifest trees · bucket/tesseract.json · 来源: api.github.com
winget install --id Tesseract.Tesseract.Stable -eWindows Package Manager source index · Tesseract.Tesseract.Stable · 来源: cdn.winget.microsoft.com
概览
OCR (Optical Character Recognition) engine
历史
Tesseract is one of the canonical open-source OCR engines and includes both libtesseract and the `tesseract` command-line program. Official docs describe an Apache-licensed OCR engine usable from the shell or through C and C++ APIs, with Unicode support, trained data for more than 100 languages, and output formats including plain text, hOCR, searchable PDF, TSV, ALTO, and PAGE.
Tesseract began as a Hewlett-Packard OCR engine developed at HP Laboratories Bristol and HP Greeley between 1985 and 1994. HP later made Windows and C++ changes, open-sourced the project in 2005, and Google developed it from 2006 until August 2017.
The modern project is maintained in the tesseract-ocr GitHub organization. The official README names Stefan Weil as current lead developer, Ray Smith as lead developer until 2017, and Zdenko Podobny as maintainer. Tesseract 4 introduced an LSTM neural-network recognizer, and version 5 became the current stable major line with release 5.0.0 on November 30, 2021.
Tesseract's adoption is unusually broad for a CLI package because it sits at the boundary between desktop utilities, archival workflows, library APIs, and machine-learning-era OCR. Package metadata lists it across Homebrew, Chocolatey, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE, reflecting long-term cross-platform demand.
The classic package-manager usage is `tesseract imagename outputbase`, optionally adding language, OCR engine mode, page segmentation mode, and config files. Users install language data, run OCR from shell scripts, generate text or searchable PDFs, and let higher-level wrappers call libtesseract where an application needs embedded OCR.
Tesseract is a package-nerd landmark because installing it correctly is often half the battle: the engine, traineddata files, image libraries, compiler flags, and wrapper bindings must line up. It is also a rare package where command-line users, distro maintainers, data archivists, and application developers all care about the same executable.
安全态势
broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ambiguous_words | cli | 全局可执行文件 | |
classifier_tester | cli | 全局可执行文件 | |
cntraining | cli | 全局可执行文件 | |
combine_lang_model | cli | 全局可执行文件 | |
combine_tessdata | cli | 全局可执行文件 | |
dawg2wordlist | cli | 全局可执行文件 | |
lstmeval | cli | 全局可执行文件 | |
lstmtraining | cli | 全局可执行文件 | |
merge_unicharsets | cli | 全局可执行文件 | |
mftraining | cli | 全局可执行文件 | |
set_unicharset_properties | cli | 全局可执行文件 | |
shapeclustering | cli | 全局可执行文件 | |
tesseract | cli | 全局可执行文件 | |
text2image | cli | 全局可执行文件 | |
unicharset_extractor | cli | 全局可执行文件 | |
wordlist2dawg | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tesseract-ocr/tesseract
安装元数据
| 软件包键 | brew:tesseract |
|---|---|
| 版本 | 5.5.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tesseract |
| 主页 | https://tesseract-ocr.github.io/ |
| 仓库 | https://github.com/tesseract-ocr/tesseract |
| 上游文档 | https://tesseract-ocr.github.io/tessdoc |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.2.tar.gz |
| 依赖 | cairo, fontconfig, freetype, gettext, glib, harfbuzz, icu4c@78, leptonica, libarchive, pango |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | This formula contains only the "eng", "osd", and "snum" language data files. If you need any other supported languages, run `brew install tesseract-lang`. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tesseract |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libtesseract-dev 5.5.0-1+b1
Development files for the tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install libtesseract-devlibtesseract5 5.5.0-1+b1
Tesseract OCR library
https://github.com/tesseract-ocr/
sudo apt install libtesseract5tesseract-ocr 5.5.0-1+b1
Tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocrtesseract-ocr-all 5.5.0-1
Tesseract OCR with all language and script packages
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocr-alltesseract
nix profile install nixpkgs#tesseractlibtesseract-dev 5.3.4-1build5
Development files for the tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install libtesseract-devlibtesseract5 5.3.4-1build5
Tesseract OCR library
https://github.com/tesseract-ocr/
sudo apt install libtesseract5tesseract-ocr 5.3.4-1build5
Tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocrtesseract-ocr-all 5.3.4-1build5
Tesseract OCR with all language and script packages
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocr-allmingw32-tesseract 5.5.2-3.fc45
MinGW Windows tesseract-ocr library
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw32-tesseractmingw32-tesseract-tools 5.5.2-3.fc45
MinGW Windows tesseract-ocr library tools
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw32-tesseract-toolsmingw64-tesseract 5.5.2-3.fc45
MinGW Windows tesseract-ocr library
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw64-tesseractmingw64-tesseract-tools 5.5.2-3.fc45
MinGW Windows tesseract-ocr library tools
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw64-tesseract-toolstesseract 5.5.2-3.fc45
Raw OCR Engine
https://github.com/tesseract-ocr/tesseract
sudo dnf install tesseracttesseract-common 5.5.2-3.fc45
Configuration files for ${name}
https://github.com/tesseract-ocr/tesseract
sudo dnf install tesseract-commontesseract-devel 5.5.2-3.fc45
Development files for tesseract
https://github.com/tesseract-ocr/tesseract
sudo dnf install tesseract-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.