macOS
brew install ssocrlocal Homebrew formula metadata
brew
Seven Segment Optical Character Recognition. Version 2.25.1 via Homebrew; verified from local package data.
install
brew install ssocrlocal Homebrew formula metadata
sudo apt install ssocrDebian stable package indexes · ssocr · source: deb.debian.org
nix profile install nixpkgs#ssocrnixpkgs package indexes · pkgs/by-name/ss/ssocr/package.nix · source: api.github.com
overview
Seven Segment Optical Character Recognition
history
ssocr is a specialized command-line OCR program for reading seven-segment displays from images. It appeals to package nerds because it solves a narrow hardware-adjacent automation problem with deterministic C code rather than a general OCR or machine-learning stack.
The official page explains that ssocr was written because general OCR software struggled with seven-segment displays, often segmenting a single digit into multiple characters. The project's niche is recognizing digits and characters made from seven-segment displays, especially from consistent camera setups.
The first 1.x versions used a separate preprocessing program named ssocrpp. The official version history says version 2 integrated all functionality into one binary and was the first publicly released ssocr version, with later development concentrating on image manipulation options and removing the need for separate tools.
The upstream page lists third-party packages for FreeBSD, NixOS, Debian Buster and newer, Ubuntu Disco Dingo and newer, and Homebrew for macOS and x86-64 GNU/Linux. The supplied package metadata also shows Homebrew, Debian, Nix, and Ubuntu.
Adoption is use-case driven rather than broad platform infrastructure: ssocr is useful for people who need to turn photos of meters, scales, counters, or other seven-segment readouts into scriptable text.
ssocr reads an image containing a seven-segment display, applies optional preprocessing commands such as crop, thresholding, inversion, rotation, shear, dilation, and erosion, then prints recognized digits to standard output. The man page documents reading from files or standard input and using Imlib2-supported image formats.
The official usage advice emphasizes fixed camera placement, consistent lighting, debug images, threshold tuning, cropping to the display, deskewing with shear or rotate, and specifying the expected number or character set of digits to catch recognition errors.
ssocr is significant because it is tiny, deterministic, and composable: it turns physical-world display readings into stdout, where shell scripts, cron jobs, home automation, and data logging can consume them.
It is also a reminder that not every OCR problem wants Tesseract. For package maintainers, ssocr's value is its small dependency surface, man page, source tarballs, and clear behavior for one specific class of displays.
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 |
|---|---|---|---|
ssocr | 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.unix-ag.uni-kl.de/~auerswal/ssocr/
install metadata
| Package key | brew:ssocr |
|---|---|
| Version | 2.25.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ssocr |
| Homepage | https://www.unix-ag.uni-kl.de/~auerswal/ssocr/ |
| Repository | https://github.com/auerswal/ssocr |
| Upstream docs | https://www.unix-ag.uni-kl.de/~auerswal/ssocr |
| License | GPL-3.0-or-later |
| Source archive | https://www.unix-ag.uni-kl.de/~auerswal/ssocr/ssocr-2.25.1.tar.bz2 |
| Dependencies | imlib2 |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ssocr |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ssocr 2.25.0-1
OCR for seven segment displays
https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
sudo apt install ssocrssocr
nix profile install nixpkgs#ssocrssocr 2.23.1-1build2
OCR for seven segment displays
https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
sudo apt install ssocrsource 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.