oar_ocr/core/inference/
mod.rs

1//! Structures and helpers for ONNX Runtime inference.
2//!
3//! This module centralizes the low level inference engine along with thin wrappers
4//! that adapt it to the `InferenceEngine` trait used across the pipeline.
5
6pub mod image_reader;
7pub mod ort_infer;
8pub mod session;
9pub mod wrappers;
10
11pub use image_reader::DefaultImageReader;
12pub use ort_infer::OrtInfer;
13pub use session::load_session;
14pub use wrappers::{OrtInfer2D, OrtInfer3D, OrtInfer4D};