pdf_oxide 0.3.22

The fastest Rust PDF library with text extraction: 0.8ms mean, 100% pass rate on 3,830 PDFs. 5× faster than pdf_extract, 17× faster than oxidize_pdf. Extract, create, and edit PDFs.
Documentation
//! Hybrid classical + ML architecture.
//!
//! This module orchestrates between classical and ML-based approaches
//! based on document complexity estimation.
//!
//! # Strategy
//!
//! - Simple documents: Fast classical algorithms
//! - Moderate documents: Either approach works (prefer classical for speed)
//! - Complex documents: ML for better accuracy
//!
//! # Example
//!
//! ```ignore
//! use pdf_oxide::hybrid::SmartLayoutAnalyzer;
//!
//! let analyzer = SmartLayoutAnalyzer::new();
//! let order = analyzer.determine_reading_order(&blocks, width, height)?;
//! ```

pub mod complexity_estimator;
pub mod smart_analyzer;

pub use complexity_estimator::{Complexity, ComplexityEstimator};
pub use smart_analyzer::{AnalyzerCapabilities, SmartLayoutAnalyzer};