docTR (Document Text Recognition) is an open-source OCR toolkit developed by Mindee, with its initial public release in March 2021 under the Apache 2.0 license. It provides end-to-end document text recognition through a two-stage pipeline consisting of text detection and text recognition, both implemented as deep learning models. docTR supports multiple detection architectures including DBNet and LinkNet, and recognition architectures including CRNN and SAR, with both TensorFlow and PyTorch backends available.
docTR is designed for reading text in document images including scanned PDFs, photographs of printed documents, and forms. It handles multilingual text recognition across standard Latin-script languages and is deployable through Roboflow Inference. It is suited for document digitization pipelines, automated form processing, and applications requiring accurate structured text extraction from document images.
| Category | Passed | Score |
|---|---|---|
| VQA & Extraction | 39 / 60 | 65% |
| Focused Scene OCR | 16 / 99 | 16.2% |
| Text Recognition | 0 / 30 | 0% |
| Handwritten Math | 0 / 10 | 0% |
| License Plate Recognition | 0 / 30 | 0% |
Scores based on a single evaluation run · Methodology
View all Vision Evals →Estimated cost per task vs. OCR score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost).
6 of 7 models plotted · 1 not yet evaluated
| Model | Score | Median tokens | Est. cost / task | Compare |
|---|---|---|---|---|
| Claude Sonnet 4.5 | 67.3% | 866 | $0.0039 | Compare |
| Gemma 3 4B | 64.2% | 314 | <$0.0001 | Compare |
| GPT-5.4 Nano | 62.5% | 294 | $0.0001 | Compare |
| Claude Haiku 4.5 | 61.6% | 861 | $0.0012 | Compare |
| Qwen3.6 Plus | 58.5% | 166 | $0.0001 | Compare |
| DocTR(this model) | 24.0% | — | — | — |
| Kimi K2.5 | 19.6% | 706 | $0.0006 | Compare |
Other models worth comparing for similar use cases.
License terms and commercial-use guidance for docTR.
License information is provided as a guide and is not legal advice.