Module traits

Module traits 

Source
Expand description

Trait definitions for the OCR pipeline.

This module groups the foundational predictor traits (standard) and the component-level, composable traits (granular). Use standard for the high-level predictor interfaces implemented across the crate, and reach for granular when you need to assemble predictors from interchangeable image readers, preprocessors, inference engines, and postprocessors.

Re-exports§

pub use granular::ImageReader as GranularImageReader;
pub use granular::InferenceEngine;
pub use granular::ModularPredictor;
pub use granular::Postprocessor;
pub use granular::Preprocessor;
pub use standard::BasePredictor;
pub use standard::ImageReader;
pub use standard::PredictorBuilder;
pub use standard::PredictorConfig;
pub use standard::Sampler;
pub use standard::StandardPredictor;

Modules§

granular
Granular traits for composable predictor components.
standard
Traits for the OCR pipeline.