macOS
brew install ssocrlocal Homebrew formula metadata
安装
brew install ssocrlocal Homebrew formula metadata
nix profile install nixpkgs#ssocrnixpkgs package indexes · pkgs/by-name/ss/ssocr/package.nix · 来源: api.github.com
概览
Seven Segment Optical Character Recognition
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ssocr | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ssocr |
|---|---|
| 版本 | 2.25.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.unix-ag.uni-kl.de/~auerswal/ssocr/ |
| 仓库 | https://github.com/auerswal/ssocr |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 ssocr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.