OCRmyPDF
pdfplumber
Our great sponsors
OCRmyPDF | pdfplumber | |
---|---|---|
77 | 29 | |
12,002 | 5,565 | |
4.9% | - | |
9.5 | 8.2 | |
3 days ago | 10 days ago | |
Python | Python | |
Mozilla Public License 2.0 | MIT License |
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.
OCRmyPDF
-
TextSnatcher: Copy text from images, for the Linux Desktop
Try https://github.com/ocrmypdf/OCRmyPDF - it uses Tesseract behind the scenes and it absolutely brilliant.
- FLaNK Stack Weekly 19 Feb 2024
-
Calibre – New in Calibre 7.0
I recommend running any such PDFs through OCRmyPDF.
https://github.com/ocrmypdf/OCRmyPDF
-
A better document viewer
If by "like a photocopy" you mean the file contains images of text rather than text, the MacOS viewer presumably does OCR on the images. I don't know if there's a Linux document viewer with that capability built-in, but a quick search turned up the standalone tool OCRmyPDF.
- Gibts ein (CLI) tool, das Kontrast und Helligkeit von gescannten Textdokumenten dynamisch anpasst?
-
OCR for a full pdf on Neoreader
For anyone interested I solved the problem by first ocr files through the free and open source software ocrmypdf avaible here
-
ELI5: why is PDF such a widespread text format, instead of a format that's actually easier to edit?
ocrmypdf is nice for stuff like that.
- Donut: OCR-Free Document Understanding Transformer
-
massive crop and OCR newspaper
Use imagemagick to convert them to PDF and ocrmypdf to straighten and OCR. See this explanation.
-
OCR pdf and just keep the OCR text
Fair enough, maybe this might work for you, it should seperate the text from image anyway and if you have Adobe acrobat it should be able delete the background too with the edit function. It may already be able to do that if you haven't tried it
pdfplumber
- Running OCR against PDFs and images directly in the browser
-
Google Scholar PDF Reader
- [pdfplumber](https://github.com/jsvine/pdfplumber)
- Parsing dates with PDFminer
-
How to Extract Data from Tables in a Public Record PDF
I recently published a story that was based on some data analysis I did of a report I obtained from the Department of Behavioral Health and Developmental Services in VA. I wanted to share a quick walkthrough of how I extracted the data from tables in a PDF using a Python module called PDFplumber. I also uploaded a video to Youtube if you prefer that.
-
Code to extract text from pdf to excel
I've been working with pdfplumber, which is built atop pdfminer.six. It allows one to break the page up into sections and extract text from them in turn, which may help keep columns separated better.
-
I need to parse unstructured tables from a pdf into a json, what can I do
You could try pdfplumber
-
Advanced PDF to Excel with documents and example code
I'm not sure if there is a way to reliably detect bold characters: https://github.com/jsvine/pdfplumber/issues/724
-
how do I automate extracting data from two pdfs and input into an excel sheet according to an order number
pdfplumber is also pretty good. It can help segment text a bit better than pdfminer can alone.
-
Extracting particular things from pdf program?
To handle machine generated one, a possible package is pdfplumber.
- Convert PDF to text for parsing
What are some alternatives?
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)
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
tesserocr - A Python wrapper for the tesseract-ocr API
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
Paperless-ng - A supercharged version of paperless: scan, index and archive all your physical documents
pdfminer.six - Community maintained fork of pdfminer - we fathom PDF
invoice2data - Extract structured data from PDF invoices
py-pdf-parser - A Python tool to help extracting information from structured PDFs.
PyMuPDF - PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
WeasyPrint - The awesome document factory