BSD Ports

graphics/ocrs 0.13.1 DragonFly

Rust CLI tool for OCR

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20, MIT
Categories
graphics
Package size
2447.2 KiB, 8269.2 KiB installed

Description

ocrs is a Rust library and CLI tool for extracting text from images, also known as OCR (Optical Character Recognition).

The goal is to create a modern OCR engine that:

  • Works well on a wide variety of images (scanned documents, photos containing text, screenshots etc.) with zero or much less preprocessing effort compared to earlier engines like [Tesseract][tesseract]. This is achieved by using machine learning more extensively in the pipeline.
  • Is easy to compile and run across a variety of platforms, including WebAssembly
  • Is trained on open and liberally licensed datasets
  • Has a codebase that is easy to understand and modify

Under the hood, the library uses neural network models trained in PyTorch, which are then exported to ONNX and executed using the RTen engine.

In the other systems

The newest version among them is 0.14.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlygraphics/ocrs0.13.1 behind since 2026-11-09none known-[email protected]-
FreeBSDgraphics/ocrs0.14.0 newestnone known-[email protected]2026-11-09
HardenedBSDgraphics/ocrs0.13.1_1 behind since 2026-11-09no data-[email protected]-
GhostBSDgraphics/ocrs0.13.1_1 behind since 2026-11-09no data-[email protected]-

Version history 1

  1. 0.13.1

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install ocrs

From DPorts:

cd /usr/dports/graphics/ocrs && make install clean

Dependencies

No port depends on this one.