macOS
brew install ocradlocal Homebrew formula metadata
sudo port install ocradMacPorts ports tree · graphics/ocrad/Portfile · source: api.github.com
brew
Optical character recognition (OCR) program. Version 0.29 via Homebrew; verified from local package data.
install
brew install ocradlocal Homebrew formula metadata
sudo port install ocradMacPorts ports tree · graphics/ocrad/Portfile · source: api.github.com
sudo apt install libocrad-devDebian stable package indexes · libocrad-dev · source: deb.debian.org
sudo dnf install ocradFedora Rawhide package metadata · ocrad · source: dl.fedoraproject.org
nix profile install nixpkgs#ocradnixpkgs package indexes · pkgs/by-name/oc/ocrad/package.nix · source: api.github.com
sudo pacman -S ocradArch Linux sync databases · ocrad · source: geo.mirror.pkgbuild.com
sudo zypper install ocradopenSUSE Tumbleweed package metadata · ocrad · source: download.opensuse.org
overview
Optical character recognition (OCR) program
history
GNU Ocrad is a command-line OCR program and C++ library that recognizes text from PNG and PNM-family images using feature extraction rather than a trained-shape database. It produces byte or UTF-8 text and includes layout analysis for columns and text blocks.
The GNU Ocrad manual carries copyright years 2003-2024 for Antonio Diaz Diaz, and the Free Software Directory identifies it as a GNU package. GNU’s FTP archive shows public release tarballs for the 0.14 through 0.17 series in 2006 and 2007, while the manual documents version 0.29 dated 18 January 2024.
The manual characterizes Ocrad as mainly a research project with ad hoc algorithms that may change as the author gains OCR understanding. That framing explains both the project’s small scope and its historical importance: it is a free-software OCR engine built around explicit image-processing and character-recognition code, not a wrapper around a larger OCR system.
Ocrad entered package repositories as a small GNU utility and library for OCR workflows before Tesseract dominated most open-source OCR packaging. Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE-family metadata list packages for it or its development library, keeping it available for scripts and programs that need a lightweight OCR backend.
Users invoke `ocrad` on PNG, PBM, PGM, or PPM images, optionally enabling layout analysis, scaling, thresholding, rotation, character-set selection, postprocessing filters, and UTF-8 output. The manual also documents conversion pipelines from PostScript, PDF, TIFF, JPEG, and compressed PNM through Ghostscript or Netpbm-style tools before recognition.
As a library, Ocrad exposes functions for loading images, setting output format and thresholds, running recognition, and retrieving block, line, and character results. Its OCR results file format gives downstream programs access to text blocks, line positions, character boxes, guesses, and confidence values.
For package metadata, Ocrad is a good example of a GNU-era single-purpose C++ utility that is both an executable and a library. It connects classic Unix image pipelines, OCR experimentation, GPL packaging, and downstream development packages such as Debian and Ubuntu’s `libocrad-dev`.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ocrad | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/ocrad/
install metadata
| Package key | brew:ocrad |
|---|---|
| Version | 0.29 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ocrad |
| Homepage | https://www.gnu.org/software/ocrad/ |
| Repository | https://savannah.gnu.org/cvs?group=ocrad |
| Upstream docs | https://www.gnu.org/software/ocrad |
| License | GPL-2.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/ocrad/ocrad-0.29.tar.lz |
| Dependencies | libpng |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ocrad |
| 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 database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libocrad-dev 0.29-1
optical character recognition library
https://www.gnu.org/software/ocrad/ocrad.html
sudo apt install libocrad-devocrad 0.29-1
optical character recognition program
https://www.gnu.org/software/ocrad/ocrad.html
sudo apt install ocradocrad
nix profile install nixpkgs#ocradlibocrad-dev 0.28-4build2
optical character recognition library
https://www.gnu.org/software/ocrad/ocrad.html
sudo apt install libocrad-devocrad 0.28-4build2
optical character recognition program
https://www.gnu.org/software/ocrad/ocrad.html
sudo apt install ocradocrad 0.29-6.fc44
An Optical Character Recognition program
http://www.gnu.org/software/ocrad/ocrad.html
sudo dnf install ocradocrad 0.29-3
OCR (Optical Character Recognition) program based on a feature extraction method
https://www.gnu.org/software/ocrad/
sudo pacman -S ocradocrad 0.29-1.7
Optical Character Recognition Program
https://www.gnu.org/software/ocrad/
sudo zypper install ocradocrad-devel 0.29-1.7
Development files for GNU ocrad
https://www.gnu.org/software/ocrad/
sudo zypper install ocrad-develocrad
sudo port install ocradsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.