doctr VS PaddleOCR

Compare doctr vs PaddleOCR and see what are their differences.

doctr

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

PaddleOCR

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices) (by PaddlePaddle)
Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
doctr PaddleOCR
13 69
4,560 48,284
5.0% 3.3%
8.8 9.5
about 18 hours ago 7 days ago
Python Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

doctr

Posts with mentions or reviews of doctr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-07.
  • A Picture Is Worth 170 Tokens: How Does GPT-4o Encode Images?
    5 projects | news.ycombinator.com | 7 Jun 2024
    checkout https://github.com/mindee/doctr or https://github.com/VikParuchuri/surya for something practical

    multimodal llm would of course blow it all out the water, so some llama3-like model is probably SOTA in terms of what you can run yourself. something like https://huggingface.co/blog/idefics2

  • Show HN: How do you OCR on a Mac using the CLI or just Python for free
    6 projects | news.ycombinator.com | 2 Jan 2024
    https://github.com/mindee/doctr/issues/1049

    I am looking for something this polished and reliable for handwriting, does anyone have any pointers? I want to integrate it in a workflow with my eink tablet I take notes on. A few years ago, I tried various models, but they performed poorly (around 80% accuracy) on my handwriting, which I can read almost 90% of the time.

  • Show HN: BetterOCR combines and corrects multiple OCR engines with an LLM
    8 projects | news.ycombinator.com | 28 Oct 2023
    Yup! But I'm still exploring options. (any recommendations would be welcomed!) Here are some candidates I'm considering:

    - https://github.com/mindee/doctr

    - https://github.com/open-mmlab/mmocr

    - https://github.com/PaddlePaddle/PaddleOCR (honestly I don't know Mandarin so I'm a bit stuck)

    - https://github.com/clovaai/donut - While it's primarily an "OCR-free document understanding transformer," I think it's worth experimenting with. Think I can sort this out by letting the LLM reason through it multiple times (although this will impact performance)

    - yesterday got a suggestion to consider https://github.com/kakaobrain/pororo - I don't think development is still active but the results are pretty great on Korean text

  • OCR at Edge on Cloudflare Constellation
    3 projects | news.ycombinator.com | 3 Jul 2023
    EasyOCR is a popular project if you are in an environment where you can use run Python and PyTorch (https://github.com/JaidedAI/EasyOCR). Other open source projects of note are PaddleOCR (https://github.com/PaddlePaddle/PaddleOCR) and docTR (https://github.com/mindee/doctr).
  • DeepDoctection
    4 projects | news.ycombinator.com | 26 Apr 2023
    Last I checked I saw a grocery bill example using https://github.com/mindee/doctr and was fairly accurate. Bear in mind that was last year, hopefully it got even better or there are other libraries
  • Confidential Optical Character Recognition Service With Cape
    6 projects | dev.to | 10 Mar 2023
    For its OCR service, Cape uses the excellent Python docTR library. Some of the critical benefits of docTR are its ease of use, flexibility, and matching state-of-the-art performance. The OCR model consists of two steps: text detection and text recognition. Cape uses a pre-trained DB Resnet50 architecture for detection, and for recognition, it uses a MobileNetV3 Small architecture. To learn more about the level of OCR accuracy you can expect for your document, you can consult these benchmarks provided by docTR. As you will see, model performance is very competitive compared to other commercial services.
  • 👋 Unstable Diffusion here, We're excited to announce our Kickstarter to create a sustainable, community-driven future.
    2 projects | /r/StableDiffusion | 9 Dec 2022
  • Frog: OCR Tool for Linux
    7 projects | news.ycombinator.com | 22 Nov 2022
    There's also DocTR which can do text detection and extraction out of the box.

    It's command line driven but can display the detected text as an overlay of the document.

    https://github.com/mindee/doctr

  • OCRmyPDF: Add an OCR text layer to scanned PDF file
    7 projects | news.ycombinator.com | 8 Jul 2022
    If you want to OCR a document image, modern versions of Tesseract can work well. If you last used it a few years ago, the recognition has improved since due to a new text recognition algorithm that uses modern (deep learning) techniques. Browser demo using a modern version: https://robertknight.github.io/tesseract-wasm/.

    OCR processing typically consist of two major steps: detecting/locating words or lines of text on the page, and recognizing lines of text.

    Tesseract's text recognition uses modern methods, but the text detection phase is still based on classical methods involving a lot of heuristics, and you may need to experiment with various configuration variables to get the best results. As a result it can fail to detect text if you present it with something other than a reasonably clean document image.

    Doctr (https://github.com/mindee/doctr) is a new package that uses modern methods for both text detection and recognition. It is pretty new however and I expect will take more time and effort to mature.

  • DocTR: Open-Source OCR Based on TensorFlow or PyTorch
    1 project | news.ycombinator.com | 8 Dec 2021

PaddleOCR

Posts with mentions or reviews of PaddleOCR. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-15.
  • Show HN: Kreuzberg – Modern async Python library for document text extraction
    8 projects | news.ycombinator.com | 15 Feb 2025
    https://github.com/PaddlePaddle/PaddleOCR

    Personally I‘ve used Tesseract before but the results were underwhelming, so I‘m curious how Paddle OCR performs in comparison.

  • OCR4all
    15 projects | news.ycombinator.com | 13 Feb 2025
    What kind of accuracy have you reached with this pipeline of Tesseract+LLM? I imagine that there would be a hard limit as to what level the LLM could improve the OCR extract text from Tesseract, since its far from perfect itself.

    Haven't seen many people mention it, but have just been using the PaddleOCR library on it's own and has been very good for me. Often achieving better quality/accuracy than some of the best V-LLM's, and generally much better quality than other open-source OCR models I've tried like Tesseract for example.

    https://github.com/PaddlePaddle/PaddleOCR/blob/main/README_e...

    https://huggingface.co/spaces/echo840/ocrbench-leaderboard

  • Why LLMs Suck at OCR
    1 project | news.ycombinator.com | 8 Feb 2025
    I tried https://github.com/PaddlePaddle/PaddleOCR for my own use case (scanline images of parcel labels) and it beat Tesseract by an order of magnitude.

    (Tesseract managed to get 3 fields out of a damaged label, while PaddleOCR found 35, some of them barely readable even for a human taking time to decypher them)

  • Practical Approaches to Key Information Extraction (Part 1)
    2 projects | dev.to | 4 Oct 2024
    This is where PaddleOCR comes in—it enhances the vision capabilities of the LLM by providing precise OCR text, helping the model focus on exactly what needs to be extracted.
  • Show HN: LLM Aided OCR (Correcting Tesseract OCR Errors with LLMs)
    17 projects | news.ycombinator.com | 9 Aug 2024
    Was this by any chance Paddle OCR https://github.com/PaddlePaddle/PaddleOCR
  • OCR Solutions Uncovered: How to Choose the Best for Different Use Cases
    2 projects | dev.to | 1 Aug 2024
    Budget Constraints: For users with limited budgets, open-source options like Tesseract OCR or PaddleOCR provide good solutions that can be customized to meet specific business needs. Additionally, consider Klippa or API4AI OCR for affordable yet reliable OCR services that work out-of-the-box.
  • Ask HN: What are you using to parse PDFs for RAG?
    16 projects | news.ycombinator.com | 30 Jul 2024
  • PDF Hell and Practical RAG Applications
    5 projects | dev.to | 1 Jul 2024
    Paddle OCR
  • Ask HN: I have many PDFs – what is the best local way to leverage AI for search?
    10 projects | news.ycombinator.com | 30 May 2024
    If you want to run locally you can look into this https://github.com/PaddlePaddle/PaddleOCR

    https://andrejusb.blogspot.com/2024/03/optimizing-receipt-pr...

    But I suggest that you just skip that and use gpt-4o. They aren't actually going to steal your data.

    Sort through it to find anything with a credit card number or anything ahead time.

    Or you could look into InternVL..

    Or a combination of PaddleOCR first and then use a strong LLM via API, like gpt-4o or llama3 70b via together.ai

    If you truly must do it locally, then if you have two 3090s or 4090s it might work out. Otherwise it the LLMs may not be smart enough to give good results.

    Leaving out the details of your hardware makes it impossible to give good advice about running locally. Other than, it's not really necessary.

  • Leveraging GPT-4 for PDF Data Extraction: A Comprehensive Guide
    5 projects | dev.to | 27 Dec 2023
    PyTesseract Module [ Github ] EasyOCR Module [ Github ] PaddlePaddle OCR [ Github ]

What are some alternatives?

When comparing doctr and PaddleOCR you can also consider the following projects:

EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

tesseract-ocr - Tesseract Open Source OCR Engine (main repository)

tesserocr - A Python wrapper for the tesseract-ocr API

mmocr - OpenMMLab Text Detection, Recognition and Understanding Toolbox

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Did you know that Python is
the 2nd most popular programming language
based on number of references?