Leptess
Productive and safe Rust bindings/wrappers for Tesseract and Leptonica.
Build dependencies
Make sure you have Leptonica and Tesseract installed.
For Ubuntu user:
You will also need to install tesseract language data based on your OCR needs:
Usage
let mut lt = new.unwrap;
lt.set_image;
println!;
For more examples, see docs and examples
directory.
Development
Regenerate capi binding:
make gen
To run tests, you will need at Tesseract 4.x to match what we have in
tests/tessdata/eng.traineddata
. See CircleCI config to see how to replicate
the setup.