docs.rs failed to build tesseract-static-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
tesseract-static
Rust crate to automatically link and build tesseract and leptonica into a Rust program.
The crate includes the leptonica.dll / tesseract.dll at compile time, so these binaries will be automatically shipped with a build.
To rebuild tesseract / leptonica from source, cd rebuild-tesseract && cargo run --release
then copy the output from /target/release/leptonica.dll
and /target/release/tesseract.dll
.
Usage
Run cargo run --release --example simple
for an example:
# Cargo.toml
[]
= { = "0.2.0", = ["parse"] }
use Tesseract;
const TRAINING_DATA: & = include_bytes!;
License
MIT