Expand description
OCR integration for scanned PDFs with pluggable engine support.
Re-exports§
pub use engine::NoOpEngine;pub use engine::OcrEngine;pub use engine::OcrPageResult;pub use engine::OcrWord;pub use error::OcrError;pub use error::Result;pub use pipeline::make_searchable;pub use pipeline::OcrConfig;pub use pipeline::OcrPageReport;pub use pipeline::OcrReport;
Modules§
- engine
- Pluggable OCR engine trait and built-in implementations.
- error
- Error types for
pdf-ocroperations. - integrity
- Integrity checking for anything fetched over the network. Compiled always, feature flags or not, so its tests cannot be skipped out of CI. Integrity checking for files fetched over the network.
- pipeline
- OCR pipeline: detect scanned pages, run OCR, insert invisible text layers.
- runtime
- The ONE shared ONNX Runtime layer for the opt-in model tiers: resolution, checksums, one-time init, version check, session cache. Pin: ort =2.0.0-rc.13, api-23, ONNX Runtime 1.23.2, loaded dynamically.