macOS
brew install ocrmypdflocal Homebrew formula metadata
sudo port install ocrmypdfMacPorts ports tree · textproc/ocrmypdf/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ocrmypdf in AI-Agent-Workflows.
Installation
brew install ocrmypdflocal Homebrew formula metadata
sudo port install ocrmypdfMacPorts ports tree · textproc/ocrmypdf/Portfile · Quelle: api.github.com
sudo apk add ocrmypdfAlpine Linux edge package indexes · ocrmypdf · Quelle: dl-cdn.alpinelinux.org
sudo apt install ocrmypdfDebian stable package indexes · ocrmypdf · Quelle: deb.debian.org
sudo dnf install ocrmypdfFedora Rawhide package metadata · ocrmypdf · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#ocrmypdfnixpkgs package indexes · ocrmypdf · Quelle: raw.githubusercontent.com
sudo zypper install python311-ocrmypdfopenSUSE Tumbleweed package metadata · python311-ocrmypdf · Quelle: download.opensuse.org
Überblick
Adds an OCR text layer to scanned PDF files
Verlauf
OCRmyPDF is a Python command-line application and library that adds an OCR text layer to scanned PDF files, making image-based documents searchable and copyable while preserving the original page images where possible.
The project’s documentation frames OCRmyPDF around an awkward document-processing gap: PDF is the normal container for scanned documents, but existing scanned PDFs are difficult to modify. OCRmyPDF automates the pipeline of rasterizing pages, running OCR, inserting an invisible text layer, and writing a validated PDF or PDF/A output.
PyPI release history shows OCRmyPDF 3.0 published on 2015-09-05 and 4.2.2 on 2016-08-31, already advertising searchable PDF/PDF-A generation and preservation of embedded image resolution. Later documentation describes a public API, plugin support, image optimization, language packs, Docker usage, and feature-specific release notes, showing its expansion from a practical CLI into a packaged document-processing toolkit.
OCRmyPDF’s adoption follows the shape of the scanned-document problem: Linux, macOS, and distribution packagers ship it because it wraps several hard-to-coordinate pieces into one reproducible CLI. The project is available through PyPI and package managers including Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Alpine, and openSUSE-family packages.
The project’s packaging notes thank downstream packagers and point to broad porting status, while the README badges and package metadata show attention to PyPI, Homebrew, Read the Docs, and Python-version compatibility. That packaging breadth is part of its appeal: users can install a single command rather than hand-assemble Tesseract, Ghostscript or pypdfium2, image preprocessing, PDF/A conversion, metadata handling, and validation steps.
The common workflow is `ocrmypdf input.pdf output.pdf`, with options for languages, page rotation, deskewing, cleaning, metadata, job parallelism, output type, PDF optimization, and redoing or skipping existing OCR. The README emphasizes searchable PDF/A output, accurate placement of OCR text below images, lossless insertion where possible, image optimization, input/output validation, Tesseract language support, and scaling to large PDFs.
The project is also used as a library or scripted tool in document-ingestion systems. Its public API and plugin documentation exist for callers that need OCRmyPDF behavior inside larger PDF processing flows rather than only from a shell.
OCRmyPDF is packaging glue with real teeth: it turns a fragile OCR/PDF toolchain into one command while still exposing dependency choices, language-data packaging, Docker images, plugin hooks, and PDF/A policy. It is a good package-nerd example of a Python CLI whose value is orchestrating native tools and file-format edge cases cleanly.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
ocrmypdf | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://ocrmypdf.readthedocs.io/en/latest/
Installationsmetadaten
| Paketschlüssel | brew:ocrmypdf |
|---|---|
| Version | 17.8.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/ocrmypdf |
| Homepage | https://ocrmypdf.readthedocs.io/en/latest/ |
| Repository | https://github.com/ocrmypdf/OCRmyPDF |
| Upstream-Dokumentation | https://ocrmypdf.readthedocs.io/en/latest |
| Lizenz | MPL-2.0 |
| Quellarchiv | https://files.pythonhosted.org/packages/4b/c4/c44db9ff5282e7c73856f437434777745d18bb9404f431df70e786a6bcc7/ocrmypdf-17.8.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-02T12:13:48Z |
| Pulse | updated |
| Abhängigkeiten | cryptography, freetype, ghostscript, img2pdf, jbig2enc, libheif, libpng, pillow, pngquant, pybind11, pydantic, python@3.14, qpdf, tesseract, unpaper |
| Build-Abhängigkeiten | cmake, pkgconf |
| Von macOS bereitgestellte Bibliotheken | libffi, libxml2, libxslt |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ocrmypdf |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
ocrmypdf 16.7.0+dfsg1-3
add an OCR text layer to PDF files
https://github.com/jbarlow83/OCRmyPDF
sudo apt install ocrmypdfocrmypdf-doc 16.7.0+dfsg1-3
add an OCR text layer to PDF files - documentation
https://github.com/jbarlow83/OCRmyPDF
sudo apt install ocrmypdf-dococrmypdf
nix profile install nixpkgs#ocrmypdfocrmypdf 15.2.0+dfsg1-1
add an OCR text layer to PDF files
https://github.com/jbarlow83/OCRmyPDF
sudo apt install ocrmypdfocrmypdf-doc 15.2.0+dfsg1-1
add an OCR text layer to PDF files - documentation
https://github.com/jbarlow83/OCRmyPDF
sudo apt install ocrmypdf-dococrmypdf 16.11.1-r2
Add OCR text layer to scanned PDF files
https://github.com/ocrmypdf/OCRmyPDF
sudo apk add ocrmypdfocrmypdf-pyc 16.11.1-r2
Precompiled Python bytecode for ocrmypdf
https://github.com/ocrmypdf/OCRmyPDF
sudo apk add ocrmypdf-pycocrmypdf 16.12.0-3.fc45
Add an OCR text layer to scanned PDF files
https://github.com/ocrmypdf/OCRmyPDF
sudo dnf install ocrmypdfocrmypdf+watcher 16.12.0-3.fc45
Metapackage for ocrmypdf: watcher extras
https://github.com/ocrmypdf/OCRmyPDF
sudo dnf install ocrmypdf+watcherocrmypdf-doc 16.12.0-3.fc45
ocrmypdf documentation
https://github.com/ocrmypdf/OCRmyPDF
sudo dnf install ocrmypdf-docpython311-ocrmypdf 17.4.2-1.1
OCRmyPDF adds an OCR text layer to scanned PDF files
https://github.com/ocrmypdf/OCRmyPDF
sudo zypper install python311-ocrmypdfpython313-ocrmypdf 17.4.2-1.1
OCRmyPDF adds an OCR text layer to scanned PDF files
https://github.com/ocrmypdf/OCRmyPDF
sudo zypper install python313-ocrmypdfpython314-ocrmypdf 17.4.2-1.1
OCRmyPDF adds an OCR text layer to scanned PDF files
https://github.com/ocrmypdf/OCRmyPDF
sudo zypper install python314-ocrmypdfocrmypdf
sudo port install ocrmypdfQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.