#63 · Primary category: Computer Vision

doctr

deep-learning document-recognition ocr optical-character-recognition pytorch tensorflow2 text-detection text-detection-recognition text-recognition

docTR (Document Text Recognition) - a seamless, high-performing & accessible library for OCR-related tasks powered by Deep Learning. Ongoing development and maintenance by t2k.

Project last updated:08/28/26

GitHub Stars

6.3K

Forks

673

Contributors

77

License

Apache-2.0

Why we included this project

docTR is a document OCR library that folds text detection and recognition into one predictor object, so you can point it at a PDF or image and get structured text back in a few lines of code. The two stages stay separate underneath, which lets you pair a detection backbone that finds each word with a recognition backbone that transcribes it, mixing in pretrained models to suit your speed and accuracy needs. It runs under both PyTorch and TensorFlow, so teams already committed to either framework can use it as-is, and beyond PDFs and images it can handle rendered web pages. There is also a layout detection mode that labels regions such as titles, tables, and headers, which is worth having when you care where text sits, not just what it says.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category