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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.13.1 | 0.13.1_1 | - | 0.10.4 | 0.13.1_1 |
| FreeBSD:14:quarterly | 0.13.1 | 0.13.1 | n/a | 0.10.3_1 | 0.13.1 |
| FreeBSD:15:latest | 0.13.1_1 | 0.13.1_1 | n/a | 0.10.4 | 0.10.4 |
| FreeBSD:15:quarterly | 0.13.1 | 0.13.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.13.1 | 0.13.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| rust/crates/adler2-2.0.0.crate | 13529 | 512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627 |
| rust/crates/anyhow-1.0.104.crate | 48819 | 330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470 |
| rust/crates/arboard-3.6.1.crate | 54018 | 0348a1c054491f4bfe6ab86a7b6ab1e44e45d899005de92f58b3df180b36ddaf |
| rust/crates/autocfg-1.1.0.crate | 13272 | d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa |
| rust/crates/base64-0.23.1.crate | 93605 | ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5 |
| rust/crates/bitflags-1.3.2.crate | 23021 | bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a |
| rust/crates/bitflags-2.9.4.crate | 47950 | 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394 |
| rust/crates/bumpalo-3.14.0.crate | 82400 | 7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec |
| rust/crates/bytemuck-1.14.0.crate | 44933 | 374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6 |
| rust/crates/byteorder-lite-0.1.0.crate | 15909 | 8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495 |
| rust/crates/bytes-1.11.1.crate | 78584 | 1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33 |
| rust/crates/cbindgen-0.29.4.crate | 238017 | 2ecb53484c9c167ba674026b656d8a27d7657a58e6066aa902bfb1a4aa00ae20 |
| rust/crates/cc-1.0.83.crate | 68343 | f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0 |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/clipboard-win-5.4.1.crate | 20994 | bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4 |
| rust/crates/crc32fast-1.3.2.crate | 38661 | b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d |
| rust/crates/crossbeam-deque-0.8.4.crate | 21752 | fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751 |
| rust/crates/crossbeam-epoch-0.9.17.crate | 46953 | 0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d |
| rust/crates/crossbeam-utils-0.8.18.crate | 42383 | c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c |
| rust/crates/crunchy-0.2.4.crate | 3887 | 460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5 |