Skip to main content

Crate pdf_ocr

Crate pdf_ocr 

Source
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-ocr operations.
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.