xberg-candle-ocr 1.2.0

Candle-based VLM OCR engines for Xberg - pure-Rust transformer OCR (TrOCR, PaddleOCR-VL, GLM-OCR)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! PaddleOCR-VL model: Vision-Language model for document parsing.
//!
//! PaddleOCR-VL 1.5 combines a SigLIP vision encoder with ERNIE 4.5 text decoder
//! for multi-task document understanding (OCR, table/formula/chart recognition).
//!
//! Adapted from aha's PaddleOCR-VL 1.5 vendored implementation.

pub mod config;
pub mod engine;
pub mod model;
pub mod processor;

pub use engine::{PaddleOcrVlEngine, PaddleOcrVlTask};