Description
deepdoctection is a Python library for document understanding. It orchestrates layout analysis of scanned images and PDFs, OCR and document and token classification, so you can build a pipeline for a document extraction task, develop your own extraction workflow, fine-tune pre-trained models and run them for inference. Layout analysis and table recognition run in PyTorch with Detectron2 and Transformers. OCR supports Tesseract, DocTr and AWS Textract. Classification covers the LayoutLM family, LiLT and Bert-style models, including sliding windows for long documents. Native PDFs can be mined for text with pdfplumber, and the library detects languages and deskews or rotates images with jdeskew or Tesseract. Version 1.0 was a major refactor: PyTorch is the only deep learning backend, models from the Hugging Face Hub are supported, the project is split into the sub-packages dd-core, dd-datasets and deepdoctection, and it has type validation and a new test suite. The README lists Python 3.10 or later and PyTorch 2.6 or later, recommends a GPU for fine-tuning, and links an introduction notebook and a demo on Hugging Face Spaces.…
Highlights
- Layout analysis and table recognition
- OCR with Tesseract, DocTr and AWS Textract
- LayoutLM, LiLT and Bert-style classification
- Native PDF text mining
- Fine-tuning and pipeline evaluation
Ratings & Reviews
No ratings yet
Be the first to rate Deepdoctection.
People also visit
Deepdoctection FAQ
What does deepdoctection do?
It builds document extraction pipelines that analyze layout, run OCR and classify document and token content.
What do I need to run it?
Python 3.10 or later and PyTorch 2.6 or later. The README recommends a GPU for fine-tuning.
Which OCR engines are supported?
Tesseract, DocTr and AWS Textract, according to the README.
Can I try it first?
Yes. The README links a demo on Hugging Face Spaces and an introduction notebook.
Is it free?
Yes. It is open source and the code is on GitHub.
What are the best Deepdoctection alternatives?
Popular alternatives to Deepdoctection include Py Idp, LLM Aided OCR and Versatile-OCR-Program. See all Deepdoctection alternatives



