oar_ocr/core/traits/
mod.rs

1//! Trait definitions for the OCR pipeline.
2//!
3//! This module groups the foundational predictor traits (`standard`) and the
4//! component-level, composable traits (`granular`). Use `standard` for the
5//! high-level predictor interfaces implemented across the crate, and reach for
6//! `granular` when you need to assemble predictors from interchangeable image
7//! readers, preprocessors, inference engines, and postprocessors.
8
9pub mod granular;
10pub mod standard;
11
12pub use granular::{
13    ImageReader as GranularImageReader, InferenceEngine, ModularPredictor, Postprocessor,
14    Preprocessor,
15};
16pub use standard::{
17    BasePredictor, ImageReader, PredictorBuilder, PredictorConfig, Sampler, StandardPredictor,
18};