pkg.soopen package index

brew / rank 8553

Install ssocr with Homebrew, apt, Nix

Seven Segment Optical Character Recognition. Version 2.25.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install ssocr.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ssocr

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install ssocr

Debian stable package indexes · ssocr · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#ssocr

nixpkgs package indexes · pkgs/by-name/ss/ssocr/package.nix · source: api.github.com

overview

Package summary

Seven Segment Optical Character Recognition

Commands and aliases

  • ssocr

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2.x: Version 2 integrated ssocrpp preprocessing into the main ssocr binary and became the first publicly released ssocr line.
  • 2.8.1: A manual page was added.
  • 2.9.0: Reading images from a pipe was added, easing command-line composition.
  • 2.11.0: Decimal point detection was added.
  • 2.12.0: Hexadecimal digit detection was added.
  • 2.13.0: Automatic digit-count determination was added.
  • 2.15.0: Minus-sign detection was added.
  • 2.22.0: A NEWS file was added, compilation with GCC 10 was fixed, and table-tennis-robot character sets were added.
  • 2025: The official page lists version 2.25.1 as the current source tarball and generated man page version.

Related projects

  • The official page discusses general OCR programs such as GNU Ocrad, GOCR, OCRFeeder, ocropus, and Tesseract as related but less suitable for this specific seven-segment problem.
  • It also links related seven-segment OCR projects such as Display OCR and sevenSegDecode.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ssocrexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version2.25.1
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:ssocr
Version2.25.1
Package managerHomebrew
Homepagehttps://www.unix-ag.uni-kl.de/~auerswal/ssocr/
Repositoryhttps://github.com/auerswal/ssocr
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

ssocr 2.25.0-1

OCR for seven segment displays

https://www.unix-ag.uni-kl.de/~auerswal/ssocr/

sudo apt install ssocr
  • Section: graphics
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Ssocr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ssocr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ssocr

nix profile install nixpkgs#ssocr
  • normalized package name match
  • Matched by: Ssocr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ss/ssocr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ssocr 2.23.1-1build2

OCR for seven segment displays

https://www.unix-ag.uni-kl.de/~auerswal/ssocr/

sudo apt install ssocr
  • Section: universe/graphics
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Ssocr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ssocr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation