# ssocr を Homebrew, apt, Nix でインストール

ssocr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ssocr
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ssocr
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ssocr
```

  証拠: Debian stable package indexes: ssocr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#ssocr
```

  証拠: nixpkgs package indexes: pkgs/by-name/ss/ssocr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ssocr
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.25.1
- **ソース概要:** Seven Segment Optical Character Recognition
- **ホームページ:** <https://www.unix-ag.uni-kl.de/~auerswal/ssocr/>
- **リポジトリ:** <https://github.com/auerswal/ssocr>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ssocr (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.25.1
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://www.unix-ag.uni-kl.de/~auerswal/ssocr>
- <https://www.unix-ag.uni-kl.de/~auerswal/ssocr/ssocr-manpage.html>
- input source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - ssocr - 2.25.0-1: normalized package name match | Debian stable package indexes: ssocr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OCR for seven segment displays | https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
- Nix - ssocr: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/ssocr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ssocr - 2.23.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ssocr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OCR for seven segment displays | https://www.unix-ag.uni-kl.de/~auerswal/ssocr/


## Combined YAML source

View the package source record on GitHub. [combined/ssocr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ssocr.yml)


## ソース

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