sceptre
EasyOCR's accuracy. Rust's speed and footprint.
A from-scratch Rust reimplementation of EasyOCR's OCR
pipeline — CRAFT text detection then gen2 CRNN recognition with CTC decoding, over ONNX.
It matches EasyOCR's output across six scripts (English, Latin, Chinese-simplified, Japanese,
Korean, Cyrillic) with no Python runtime, and runs on native ONNX Runtime (ort) or a pure-Rust
backend (tract) behind one seam.
Models download from Hugging Face on first use, cache locally, and are sha256-verified on download — every run after that reads the cache with no network.
Usage
use ;
let reader = builder.build?;
for line in reader.readtext?.lines
# Ok::
The crate ships default = []; enable a backend and model download:
sceptre = { version = "0.1", features = ["ort-bundled", "download"] } (or tract for pure Rust).
For the CLI, install the sceptre-cli crate.
Full documentation, benchmarks, and design notes live at the project repository.
License
MIT. Model weights are distributed by third parties under their own licenses (Apache-2.0).