自定义发票检测器扩展【免费下载链接】pdf-inspectorFast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions.项目地址: https://gitcode.com/gh_mirrors/pdf/pdf-inspector功能概述本扩展为pdf-inspector添加了专用发票文档检测功能。安装使用use pdf_inspector_extensions::invoice::InvoiceDetector; let detector InvoiceDetector::new(); let result detector.detect(invoice.pdf)?;配置选项strict_mode: bool- 严格模式默认falsefield_threshold: f32- 字段检测阈值默认0.8示例见examples/invoice_detection.rs【免费下载链接】pdf-inspectorFast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions.项目地址: https://gitcode.com/gh_mirrors/pdf/pdf-inspector创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考