Python OCR

Open-source Python projects categorized as OCR

Top 23 Python OCR Projects

  • 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)

  • Project mention: Leveraging GPT-4 for PDF Data Extraction: A Comprehensive Guide | | 2023-12-27

    PyTesseract Module [ Github ] EasyOCR Module [ Github ] PaddlePaddle OCR [ Github ]

  • EasyOCR

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

  • Project mention: I built an online PDF management platform using open-source software | | 2024-05-12

    Ok on cleaned aligned data, but there are a few newer ones like EasyOCR [0] that can deal with much less organized text (albeit more slowly)


  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • paperless-ngx

    A community-supported supercharged version of paperless: scan, index and archive all your physical documents

  • Project mention: I accidentally built a meme search engine | | 2024-04-13

    I steered a friend towards Paperless (and away from an LLM solution) as a way of searching/accessing GBs of architectural PDFs recently - so far, it’s apparently working well for them.

  • OCRmyPDF

    OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

  • Project mention: TextSnatcher: Copy text from images, for the Linux Desktop | | 2024-03-14

    Try - it uses Tesseract behind the scenes and it absolutely brilliant.

  • LaTeX-OCR

    pix2tex: Using a ViT to convert images of equations into LaTeX code.

  • Project mention: Detexify LaTeX Handwriting Symbol Recognition | | 2023-11-14
  • ragflow

    RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.

  • Project mention: DeepSeek-V2 integrated, RAGFlow v0.5.0 is released | | 2024-05-07
  • pytesseract

    A Python wrapper for Google Tesseract

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • donut

    Official Implementation of OCR-free Document Understanding Transformer (Donut) and Synthetic Document Generator (SynthDoG), ECCV 2022

  • Project mention: Ask HN: Why are all OCR outputs so raw? | | 2023-11-15

    maybe this is better?

    I'm not sure

  • video-subtitle-extractor

    视频硬字幕提取,生成srt文件。无需申请第三方API,本地实现文本识别。基于深度学习的视频字幕提取框架,包含字幕区域检测、字幕内容提取。A GUI tool for extracting hard-coded subtitle (hardsub) from videos and generating srt files.

  • layout-parser

    A Unified Toolkit for Deep Learning Based Document Image Analysis

  • manga-image-translator

    Translate manga/image 一键翻译各类图片内文字

  • Project mention: [DISC] - The angel who came to pick me up is a Gal (Oneshot by Shiraishi Kouhei) | /r/manga | 2023-09-06

    OCR works pretty good., and are all pretty nice.

  • PyMuPDF

    PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

  • Project mention: FLaNK Stack for 04 December 2023 | | 2023-12-04
  • mmocr

    OpenMMLab Text Detection, Recognition and Understanding Toolbox

  • Project mention: Show HN: BetterOCR combines and corrects multiple OCR engines with an LLM | | 2023-10-28

    Yup! But I'm still exploring options. (any recommendations would be welcomed!) Here are some candidates I'm considering:



    - (honestly I don't know Mandarin so I'm a bit stuck)

    - - 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 - I don't think development is still active but the results are pretty great on Korean text

  • AdelaiDet

    AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.

  • doctr

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

  • Project mention: Show HN: How do you OCR on a Mac using the CLI or just Python for free | | 2024-01-02

    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.

  • TextRecognitionDataGenerator

    A synthetic data generator for text recognition

  • CRAFT-pytorch

    Official implementation of Character Region Awareness for Text Detection (CRAFT)

  • Project mention: How can I install pytorch versions < 1.0 and torchvision==0.13 or lower? | /r/pytorch | 2023-07-16
  • CnOCR

    CnOCR: Awesome Chinese/English OCR Python toolkits based on PyTorch. It comes with 20+ well-trained models for different application scenarios and can be used directly after installation. 【基于 PyTorch/MXNet 的中文/英文 OCR Python 包。】

  • Papermerge

    Open Source Document Management System for Digital Archives (Scanned Documents)

  • deepdoctection

    A Repo For Document AI

  • Project mention: Show HN: Beyond text splitting – improved file parsing for LLM's | | 2024-04-07

    Have you tried this ?

  • pdftabextract

    A set of tools for extracting tables from PDF files helping to do data mining on (OCR-processed) scanned documents.

  • BallonsTranslator

    深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning

  • RapidOCR

    Awesome OCR multiple programing languages toolkits based on ONNXRuntime, OpenVION and PaddlePaddle.

  • Project mention: FLaNK Stack 05 Feb 2024 | | 2024-02-05
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python OCR related posts


What are some of the best open-source OCR projects in Python? This list will help you:

Project Stars
1 PaddleOCR 39,047
2 EasyOCR 22,237
3 paperless-ngx 17,301
4 OCRmyPDF 12,213
5 LaTeX-OCR 11,015
6 ragflow 7,744
7 pytesseract 5,570
8 donut 5,386
9 video-subtitle-extractor 4,982
10 layout-parser 4,522
11 manga-image-translator 4,350
12 PyMuPDF 4,205
13 mmocr 4,108
14 AdelaiDet 3,331
15 doctr 3,128
16 TextRecognitionDataGenerator 3,071
17 CRAFT-pytorch 2,965
18 CnOCR 2,956
19 Papermerge 2,355
20 deepdoctection 2,245
21 pdftabextract 2,152
22 BallonsTranslator 2,087
23 RapidOCR 2,090

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives