pkg.soopen package index

brew / 排名 8573

使用 Homebrew, apt, Nix 安装 ssocr

查看 ssocr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ssocr

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install ssocr

Debian stable package indexes · ssocr · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#ssocr

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

概览

软件包摘要

Seven Segment Optical Character Recognition

命令和别名

  • ssocr

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ssocrcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本2.25.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:ssocr
版本2.25.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ssocr
主页https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
仓库https://github.com/auerswal/ssocr
上游文档https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
许可证GPL-3.0-or-later
源码归档https://www.unix-ag.uni-kl.de/~auerswal/ssocr/ssocr-2.25.1.tar.bz2
依赖imlib2
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namessocr
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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