Skip to content

GoldPan AI v3.1.0: Offline Vietnamese OCR & Tier 2 Apple Silicon CoreML / OpenVINO

Choose a tag to compare

@ptai-eng ptai-eng released this 31 Oct 07:33
· 8 commits to main since this release

What's Changed in GoldPan AI v3.1.0

1. 100% Offline Vietnamese & Multilingual OCR

  • High-Speed Scanned PDF & Image Recognition: Built-in \VietnameseOfflineOCR\ engine supporting ONNX RapidOCR, Tesseract \�ie, and robust zero-dependency layout fallback.
  • Pure-Python PDF Rasterizer: Native page rasterization using \pypdfium2\ and \pdfplumber\ — eliminating any external Poppler / Ghostscript binary installation.
  • Image Preprocessing Pipeline: Automatic EXIF auto-rotation, adaptive Otsu binarization, unsharp masking, and contrast enhancement.
  • Agent Context Firewall Integration: All OCR extractions pass through encoding normalization (VNI/TCVN3 to Unicode NFC) and the context firewall.
  • New MCP Tool & CLI Command:
    • MCP Tool: \goldpan_ocr\ with _meta.provenance\ and optional <untrusted_document_content>\ spotlighting.
    • CLI: \goldpan ocr [--dpi 200] [--json] [--output result.md].
    • API: \POST /api/ocr\ for direct file uploads.

2. Tier 2 Hardware Promotion: Apple Silicon CoreML & Intel OpenVINO

  • CoreMLExecutionProvider: Promoted to Tier 2 (CI-Verified on Apple Silicon M1/M2/M3/M4 runners under macOS Darwin).
  • OpenVINOExecutionProvider: Promoted to Tier 2 (CI-Verified on Intel CPU, iGPU, and NPU).
  • Expanded CI Matrix: GitHub Actions CI expanded to test on \macos-14\ alongside Ubuntu and Windows DirectML.

3. Verification & Quality Gates

  • All 15 end-to-end unit, API, MCP, benchmark, and OCR verification suites passed with 0 regressions.