Skip to content

V 3.1

Latest

Choose a tag to compare

@shawkynasr shawkynasr released this 02 Sep 11:20

πŸš€ OCRAIHub v3.1 β€” The Multi-Engine AI Document Parsing Release

ζˆͺ屏2026-09-02 13 40 31 ζˆͺ屏2026-09-02 13 40 41 ζˆͺ屏2026-09-02 13 41 00

🌟 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 (Code 10010).
  • 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 .pdf files 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 πŸ›‘ Stop button 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 NoneType String Concatenation: Resolved a crash where empty or safety-blocked model responses caused a TypeError during document assembly.
  • Resolved MAX_TOKENS Failure: Models hitting output token ceilings now preserve and output all generated text up to the limit rather than discarding it.
  • PyMuPDF Modernization: Updated deprecated fitz namespace calls to import pymupdf to 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.