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.
docTR has not yet been evaluated on the current benchmark. The results below are from the legacy version of Vision Evals, our previous benchmark. See the current Vision Evals
| 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 legacy Vision Evals results →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). Based on Vision Evals (legacy) results.
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.0008 | Compare |
Other models worth comparing for similar use cases.
License terms and commercial-use guidance for docTR.
DocTR uses an Apache 2.0 license.
Under the terms of the Apache 2.0 license, you can freely use DocTR for commercial use.
To learn more about model licensing with Roboflow, refer to our Licensing guide.
License information is provided as a guide and is not legal advice.
Yes. docTR accepts image input, and on Roboflow's previous vision benchmark it scored 24% on OCR.
docTR has not yet been evaluated on Roboflow's current Vision Evals. The results on this page are from the previous benchmark.