OPEN SOURCE

Open-source building blocks for document pipelines.

Build more reliable OCR and document workflows with public projects for reading order and page layout.

Explore FreeOCR-AI on GitHub

PROJECTS

Choose the document-processing step you need

Use LayoutReader to restore reading order after OCR or PDF parsing. Use YOLO DocLayNet to identify page regions before downstream extraction.

01

READING ORDER

LayoutReader

When OCR or PDF parsing finds the right text but returns it in the wrong sequence, LayoutReader turns text-region boxes into a usable reading order.

What you get

  • A pretrained model for ordering text spans produced by OCR and PDF parsers.
  • Tools for converting ReadingBank from word-level to span-level input.
  • Training, evaluation, and a Python entry point for serving the model.
Reading orderLayoutLMv3Python
View LayoutReader
02

LAYOUT DETECTION

YOLO DocLayNet

When your workflow must treat tables, titles, figures, formulas, or body text differently, YOLO DocLayNet identifies page regions before extraction.

What you get

  • Models trained on DocLayNet, a human-labeled document-layout dataset.
  • Detection for 11 page-element types, including text, tables, pictures, titles, and formulas.
  • Data conversion, training, evaluation, inference, and published results across model sizes.
Layout detectionDocLayNetPython
View YOLO DocLayNet
Public source codeGitHub repositoriesDocumentation and models

GITHUB

Explore the work in context

Each repository includes its source code, model resources, documentation, and project-specific terms. Review the repository before using it in a product.

Visit FreeOCR-AI on GitHub
Open Source Document Intelligence Projects | FreeOCR.AI