Topdu/OpenOCR

OpenOCR: An Open-Source Toolkit for General-OCR Research and Applications, integrates a unified training and evaluation benchmark, commercial-grade OCR and Document Parsing systems, and faithful reproductions of the core implementations from a wide range of academic papers.

What it solves

OpenOCR is a comprehensive toolkit designed to handle "General-OCR" tasks. It addresses the difficulty of accurately parsing complex documents that contain a mix of plain text, mathematical formulas, and tables, while bridging the gap between academic research and industrial deployment.

How it works

The toolkit provides several specialized systems and models:

  • OpenDoc-0.1B: A lightweight document parsing system that uses a two-stage pipeline. It first performs layout analysis via PP-DocLayoutV2 and then uses the UniRec-0.1B model to recognize text, formulas, and tables.
  • UniRec-0.1B: A unified recognition model with 0.1B parameters trained from scratch on the UniRec40M dataset to recognize Chinese and English text and formulas.
  • OpenOCR System: A practical OCR system based on SVTRv2 that supports both server and mobile models, offering high accuracy for Chinese and English text detection and recognition.
  • SVTRv2: A scene text recognition benchmark and model that utilizes CTC to outperform encoder-decoder models in accuracy and speed, particularly when trained on large-scale real datasets like Union14M.

Who it’s for

It is intended for researchers focusing on OCR and document understanding, as well as developers and industry partners looking to deploy high-efficiency, commercial-grade OCR and document parsing systems.

Highlights

  • Ultra-lightweight: Includes models like OpenDoc and UniRec with only 0.1B parameters.
  • Unified Recognition: Capable of recognizing text, formulas, and tables within a single framework.
  • High Performance: OpenDoc-0.1B achieves 90.57% on OmniDocBench (v1.5), and the OpenOCR system outperforms PP-OCRv4 by 4.5% in accuracy.
  • Broad Compatibility: Supports ONNX model export for easier integration into various environments.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project