#5050th of 93 in Data and scraping for AIFor data and documents, documents and ocr

deepdoctection

Python library for PDF layout analysis, table recognition and OCR pipelines

Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
3.3k
License
Apache-2.0
Last commit
Oct 2026
Last release
Sep 2026
Language
Python
Stars, last 30 weeks+126
26 Apr 2026: 3,151 stars3 May 2026: 3,152 stars10 May 2026: 3,154 stars17 May 2026: 3,156 stars24 May 2026: 3,158 stars31 May 2026: 3,158 stars7 Jun 2026: 3,160 stars14 Jun 2026: 3,164 stars21 Jun 2026: 3,166 stars28 Jun 2026: 3,170 stars5 Jul 2026: 3,174 stars12 Jul 2026: 3,176 stars19 Jul 2026: 3,180 stars26 Jul 2026: 3,186 stars2 Aug 2026: 3,188 stars9 Aug 2026: 3,192 stars16 Aug 2026: 3,205 stars23 Aug 2026: 3,235 stars30 Aug 2026: 3,236 stars6 Sept 2026: 3,246 stars13 Sept 2026: 3,246 stars20 Sept 2026: 3,248 stars27 Sept 2026: 3,249 stars4 Oct 2026: 3,252 stars11 Oct 2026: 3,257 stars18 Oct 2026: 3,260 stars25 Oct 2026: 3,262 stars1 Nov 2026: 3,266 stars8 Nov 2026: 3,268 stars15 Nov 2026: 3,273 stars22 Nov 2026: 3,277 stars

3,151 on 26 Apr 20263,277 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

deepdoctection is a Python library that builds pipelines for scanned and PDF documents. It combines layout and table detection (Detectron2, Transformers), OCR (Tesseract, DocTr, AWS Textract) and document or token classification with LayoutLM, LiLT and BERT-style models. It also supports fine-tuning and evaluating whole pipelines. Version 1.0 is PyTorch-only.

Who it is for: Python developers extracting structured text and tables from PDFs and scans

Strengths

  • Layout analysis, table recognition, OCR and classification in one configurable pipeline
  • Several OCR backends: Tesseract, DocTr and AWS Textract
  • Reads native PDF text with pdfplumber instead of running OCR
  • Includes fine-tuning and pipeline evaluation, plus a Hugging Face Space demo and notebooks

Weaknesses

  • Detectron2 is not on PyPI and needs a separate install for the full setup
  • PyTorch must be installed separately; v1.0 dropped other deep learning backends
  • Docker container exposes no endpoint, so there is no built-in HTTP service
  • Library only, with no bundled UI; used from Python or notebooks

What it needs

  • GPU optional
  • Docker + Compose
  • Needs Python >= 3.10, PyTorch >= 2.6, Detectron2, Tesseract, python-doctr, AWS Textract
  • Models: Detectron2, Hugging Face Transformers, LayoutLM, LiLT, BERT-style

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Data and scraping for AI

See all 93
Also in Data and scraping for AI
RankProjectScore
#48grobidExtracts structured TEI/XML from scientific PDFs, including metadata and references Live demo ↗ (opens in a new tab)5.2k stars+51 (+1.0%) in 30 daysApache-2.061 out of 100
#49docetlDeclarative LLM map-reduce pipelines over documents, with automatic optimization Live demo ↗ (opens in a new tab)4.3k starsMIT60 out of 100
#51curatorPython library for bulk LLM inference and synthetic data generation1.8k starsApache-2.060 out of 100
#52chubbyskillsAgent skills and CLI that save videos, podcasts and articles as searchable Markdown1.4k starsMIT60 out of 100
#53claude-real-videoExtracts scene-change keyframes and a timestamped transcript from videos for LLMs Live demo ↗ (opens in a new tab)2.3k starsMIT59 out of 100