OCRmyPDF
pyHanko
Our great sponsors
OCRmyPDF | pyHanko | |
---|---|---|
77 | 9 | |
12,002 | 426 | |
4.9% | - | |
9.5 | 9.1 | |
3 days ago | about 1 month 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
pyHanko
-
Signing PDFs
If you mean signing as in "adding a digital, cryptographic signature", you could use pyhanko () which provides everything state-of-the-art to do just that.
-
Anything self hosted like paperless.io?
Document read from codimd-api https://github.com/hackmdio/hackmd-cli/blob/master/README.md - Matching config.yaml + styles read from git - Fetching data from CRM https://docs.espocrm.com/development/api/#client-implementations - Parsing markdown as jinja template - Generate pdf from markdown https://github.com/jmaupetit/md2pdf - Add signature fields https://github.com/MatthiasValvekens/pyHanko - store pdf file (maybe seafile?) (or nextcloud)
-
Digitally Sign PDFs?
I don't think Okular supports PKCS#11 out of the box, but if you're OK with CLI tooling, this might suit your needs: https://github.com/MatthiasValvekens/pyHanko (full disclosure: I wrote that tool, so assume I'm biased).
-
How does document signing work in practice?
Shameless plug: I'm the author of this tool: https://github.com/MatthiasValvekens/pyHanko/.
-
Introducing Certomancer: the Python X.509 testing framework
Certomancer started out as a weekend-long hacking session because I wanted to put the test suite for pyHanko on more solid foundations. I more or less knew where I wanted to go: I started by crafting a configuration file describing a somewhat involved testing configuration, and then implemented features incrementally until the tool was capable of handling the sample config I initially put together. This is the result.
-
Password protect PDF's
If you aren't afraid of some command-line tooling, you can use pyHanko: https://github.com/MatthiasValvekens/pyHanko/. It's mainly a signing tool, but the library behind it supports literally every encryption scheme in the PDF standard. The CLI is a bit more restricted, but it'll probably still do the job in this particular case.
- SafeNet digital tokens on linux
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)
itext-java - iText for Java represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow.
pdfplumber - Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
certomancer - Quickly construct, mock & deploy PKI test configurations using simple declarative configuration.
tesserocr - A Python wrapper for the tesseract-ocr API
xournalpp - Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.
Paperless-ng - A supercharged version of paperless: scan, index and archive all your physical documents
Loki - Loki - Simple IOC and YARA Scanner
invoice2data - Extract structured data from PDF invoices
blockchain_implementation - Simple blockchain implementation using python and flask. It implements basic concepts of blockchain, like proof of work, mining, consensus, generating and validating the signature on transaction etc.
pdfminer.six - Community maintained fork of pdfminer - we fathom PDF
hackmd-cli - The HackMD/CodiMD Command Line Tool