π OCRAIHub v3.1 β The Multi-Engine AI Document Parsing Release
π What's New
- Baidu PaddleOCR-VL (v1.6): Fully upgraded to the official Asynchronous Job API (
/api/v2/ocr/jobs) with support for specialized task types (ocr,table,formula,chart) and automated retry handling during peak queue traffic (Code10010). - TextIn (v1 xparse): Integrated TextInβs latest document parsing engine with automated DPI validation (
72,144,216) and structured Markdown table extraction. - MinerU (vlm): Added batch processing for MinerU, featuring automated presigned upload URLs, asynchronous polling, and automated ZIP artifact extraction.
π Advanced Document & PDF Features
- π Native PDF Mode: Send raw
.pdffiles directly to Baidu, TextIn, or MinerU for server-side native parsing, bypassing local rendering. - πΌοΈ Auto-Download Figures: Automatically detects, crops, and downloads inline figures, charts, and diagrams into a dedicated local folder (
[filename]_[model]_images). - βοΈ Auto-Column Slicing & Deskewing: Pre-processes scanned book pages and multi-column documents (dictionaries, academic papers) with projection profiling and Otsu binarization.
- π Instant Task Cancellation: Added a responsive
π Stopbutton that immediately halts background threads and long-running API polling without locking the UI.
πΎ Smarter Auto-Save & File Management
- Dynamic Output Naming: Markdown outputs and extracted image folders are now automatically tagged with the active engine name (e.g.,
Document_gemini-2.5-flash.md,Document_MinerU.md,Document_Textin.md). - Batch Image Auto-Save: Processing batches of standalone images now automatically aggregates and saves results directly to Markdown.
π οΈ Bug Fixes & Stability
- Fixed
NoneTypeString Concatenation: Resolved a crash where empty or safety-blocked model responses caused aTypeErrorduring document assembly. - Resolved
MAX_TOKENSFailure: Models hitting output token ceilings now preserve and output all generated text up to the limit rather than discarding it. - PyMuPDF Modernization: Updated deprecated
fitznamespace calls toimport pymupdfto eliminate terminal warnings. - macOS Font Optimization: Added native monospace font fallbacks (
Menlo,Monaco) to remove startup font scanning delays on macOS.
π¨ UI / UX Upgrades
- Single-Line File Inputs: Replaced bulky preview boxes with compact, native file path inputs.
- Smart Engine Swapping: Dynamically displays only the required credential and configuration fields for the active engine.
- Collapsible Panels: Added toggle switches for Advanced Pre-processing Settings and Prompt Instructions.
- Gravity-Anchored Layout: Applied layout anchors to prevent gaps or visual jumping across macOS, Windows, and Linux.
π License & Citation
This project is licensed under the GNU General Public License v3.0 (GPLv3). If you use this software in your research or workflows, please refer to the root CITATION.cff file.