BSD Ports

graphics/ocrs 0.13.1_1 FreeBSD

Rust CLI tool for OCR

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
APACHE20, MIT
Categories
graphics
Package size
1932.0 KiB, 4791.8 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.

Install

Binary package:

pkg install ocrs

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocrs>0:graphics/ocrs

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.13.10.13.1_1-0.10.40.13.1_1
FreeBSD:14:quarterly0.13.10.13.1n/a0.10.3_10.13.1
FreeBSD:15:latest0.13.1_10.13.1_1n/a0.10.40.10.4
FreeBSD:15:quarterly0.13.10.13.1n/an/an/a
FreeBSD:16:latest0.13.10.13.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Files

distinfo 184
FileSizeSHA256
rust/crates/adler2-2.0.0.crate13529512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627
rust/crates/anyhow-1.0.104.crate48819330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470
rust/crates/arboard-3.6.1.crate540180348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/base64-0.23.1.crate93605ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.9.4.crate479502261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394
rust/crates/bumpalo-3.14.0.crate824007f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec
rust/crates/bytemuck-1.14.0.crate44933374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6
rust/crates/byteorder-lite-0.1.0.crate159098f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495
rust/crates/bytes-1.11.1.crate785841e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33
rust/crates/cbindgen-0.29.4.crate2380172ecb53484c9c167ba674026b656d8a27d7657a58e6066aa902bfb1a4aa00ae20
rust/crates/cc-1.0.83.crate68343f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/clipboard-win-5.4.1.crate20994bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4
rust/crates/crc32fast-1.3.2.crate38661b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d
rust/crates/crossbeam-deque-0.8.4.crate21752fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751
rust/crates/crossbeam-epoch-0.9.17.crate469530e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d
rust/crates/crossbeam-utils-0.8.18.crate42383c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c
rust/crates/crunchy-0.2.4.crate3887460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5

Commit history 5

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
0a97ad8760 Yuri Victorovich graphics/ocrs: update 0.13.0 → 0.13.1
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
12b4480a21 Yuri Victorovich graphics/ocrs: update 0.12.2 → 0.13.0
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645