ocrmypdf/OCRmyPDF
View on GitHub ↗ ★ 35,224 Python
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
35 mentions on Hacker News by 31 people: 3 stories, 32 comments · first 2017-11-10 · latest 2025-08-18
20082026
-
https://github.com/ocrmypdf/OCRmyPDF >OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched I ... I nailed it.
comment by Xmd5a · 2025-08-18 · in Llama-Scan: Convert PDFs to Text W Local LLMs -
…Ollama likely is using Tesseract under the hood. Python library ocrmypdf uses Tesseract too. https://github.com/ocrmypdf/OCRmyPDF
comment by firesteelrain · 2025-08-17 · in Llama-Scan: Convert PDFs to Text W Local LLMs -
…is a very popular Python module called ocrmypdf. I used it to help my HOA and OCR’ing of old PDFs. https://github.com/ocrmypdf/OCRmyPDF No LLMs required.
comment by firesteelrain · 2025-08-17 · in Llama-Scan: Convert PDFs to Text W Local LLMs -
…now, but I need my document management to last that long. [1]: http://www.dropitproject.com/ [2]: https://github.com/ocrmypdf/OCRmyPDF [3]: https://github.com/ptmrio/autorename-pdf [4]: https://forum.manjaro.org/t/fujitsu-scansnap-home-soft…
comment by Helmut10001 · 2025-08-17 · in PuTTY has a new website -
…anyone else mention this tool yet, but I’ve found great accuracy and flexibility with [OCRmyPDF]( https://github.com/ocrmypdf/OCRmyPDF ). It (usually) detects and fixes page rotation, and works quite well on slanted text or A | B pages in…
comment by The_SamminAter · 2025-02-17 · in Ask HN: What is the best method for turning a scanned book as a PDF into text? -
…plugin makes browsing google scholar very efficient. Also Calibre fulltext search with OCR-ed PDFs: https://github.com/ocrmypdf/OCRmyPDF makes learning a concept/finding test exercises even easier. Soon a local LLM to "RAG retrieval on my…
comment by freefaler · 2024-11-21 · in Z-Library Helps Students to Overcome Academic Poverty, Study Finds -
…get queasy from Java and XML, they might be better served by their preferred scripting language and https://github.com/ocrmypdf/OCRmyPDF , which has the same OCR engine.
comment by cess11 · 2024-11-16 · in Llama-OCR: Document to Markdown -
…until I got output I could copy & paste to add a navigable table of contents. 1: with the help of https://github.com/ocrmypdf/OCRmyPDF 2: https://tesseract-ocr.github.io/tessdoc/Command-Line-Usage.h... , “ Using different Page Segmentation…
comment by 0x38B · 2024-10-28 · in A return to hand-written notes by learning to read and write -
…XChange viewer, that has the ability to do the same thing, although it is presented as "viewer". 1: https://github.com/ocrmypdf/OCRmyPDF/
comment by sandreas · 2024-06-08 · in Ask HN: How to OCR a PDF and preserve whitespace? -
Try https://github.com/ocrmypdf/OCRmyPDF - it uses Tesseract behind the scenes and it absolutely brilliant.
comment by mellutussa · 2024-03-15 · in TextSnatcher: Copy text from images, for the Linux Desktop -
…was doing less hacky. [0] https://www.pdf.to [1] https://news.ycombinator.com/item?id=23238862 [2] https://github.com/ocrmypdf/OCRmyPDF [3] https://github.com/Frooodle/Stirling-PDF#technologies-used
comment by nadermx · 2023-12-26 · in Stirling-PDF: local web application to perform various operations on PDFs -
…a tool using Tesseract, specifically designed for PDFs. I would recommend that over pure Tesseract. https://github.com/ocrmypdf/OCRmyPDF
comment by kristofferR · 2023-11-18 · in Calibre – New in Calibre 7.0 -
I recommend running any such PDFs through OCRmyPDF. https://github.com/ocrmypdf/OCRmyPDF
comment by kristofferR · 2023-11-18 · in Calibre – New in Calibre 7.0 -
OCRmyPDF is the typical answer: https://github.com/ocrmypdf/OCRmyPDF It uses Tesseract under the hood. Results tend to just be OK in my experience.
comment by lelandfe · 2023-05-29 · in Donut: OCR-Free Document Understanding Transformer -
▲ 1
OCRmyPDFstory by spapas82 · 2023-02-02 · 0 comments
-
You might be interested in https://github.com/ocrmypdf/OCRmyPDF then. It does quite some preprocessing on the PDF pages before passing it on to tesseract.
comment by rjzzleep · 2022-11-22 · in Frog: OCR Tool for Linux -
GitHub repo https://github.com/ocrmypdf/OCRmyPDF
comment by codetrotter · 2022-07-09 · in OCRmyPDF: Add an OCR text layer to scanned PDF file -
…web then they probably know how to use 'ocrmypdf' as well (which uses tesseract under the hood). https://github.com/ocrmypdf/OCRmyPDF
comment by abalaji · 2022-07-06 · in Show HN: PDFs that are readable by human eyes only -
…[1] https://scantailor.org [2] https://www.imagemagick.org/script/command-line-options.php#... [3] https://github.com/ocrmypdf/OCRmyPDF [4] https://stackoverflow.com/questions/41546181/how-to-deskew-a...
comment by thisisjasononhn · 2022-03-29 · in Vuescan – Software support for 6500 abandoned scanners -
…silent updates. Also the developer behind Vuescan is against other downloading options [3]. [1] https://github.com/ocrmypdf/OCRmyPDF . [2] https://aur.archlinux.org/packages/vuescan-bin [3] https://lists.archlinux.org/pipermail/aur-general/…
comment by 7839284023 · 2022-03-24 · in Vuescan – Software support for 6500 abandoned scanners -
I'm a very happy user of OCRmyPDF: https://github.com/jbarlow83/OCRmyPDF/
comment by jcuenod · 2022-03-17 · in Show HN: PDF API – Generate, convert, and modify PDF documents -
…//github.com/chriswolfvision/local_adaptive_binarizati... This thing OCRs the pdf using Tesseract OCR https://github.com/ocrmypdf/OCRmyPDF/ Two other pdf tools https://github.com/qpdf/qpdf https://github.com/pikepdf/pikepdf
comment by throwawayciv651 · 2022-01-25 · in Recovering redacted information from pixelated videos -
…into the scanner and a minute or two later, I have a fully OCRd PDF in my network share. [1]: https://github.com/jbarlow83/OCRmyPDF
comment by piquadrat · 2021-11-15 · in Xerox scanners/photocopiers randomly alter numbers in scanned documents (2013) -
Similar, perhaps more feature-rich tool is OCRmyPDF https://github.com/jbarlow83/OCRmyPDF
comment by zczc · 2021-11-06 · in Pdfsandwich -
…to add a text layer to a PDF (for search purposes for instance) I can highly recommend OCRmyPDF: https://github.com/jbarlow83/OCRmyPDF/ It uses Tesseract and works quite well for most PDFs, I made a semi-functional script before I…
comment by iotku · 2021-07-19 · in Tesseract OCR -
…name, but theoretically it should work for any image without the need to extract it from the PDF. https://github.com/jbarlow83/OCRmyPDF
comment by rjzzleep · 2021-05-22 · in Show HN: I wrote a free Mac app to OCR any text on screen -
…would end up costing quite a bit. After looking at options and few tests, I figured I'd use https://github.com/jbarlow83/OCRmyPDF It converts the PDF to an image for Tesseract and then recreates the PDF with the text copy-able. It won't…
comment by voiper1 · 2021-02-10 · in Base64.ai – Extract text, data, photos and more from all types of docs -
…to replace my Evernote Premium setup, they haven't convinced me yet. I am currently trying out https://github.com/jbarlow83/OCRmyPDF myself (had to fork it to add my own language to the Dockerfile) and then will either let my NAS index it…
comment by djvdorp · 2021-01-31 · in Ask HN: Which document management system with OCR do you use? -
▲ 2
OCRmyPDFstory by nanna · 2021-01-08 · 0 comments
-
…etc). I used it on several old academic papers and have been pleased with the results. [0]: https://github.com/jbarlow83/OCRmyPDF
comment by lou1306 · 2020-08-22 · in Help Make the 19th Century Searchable -
…you can use different languages. It also reduces the file size significantly. I really like it. [0] https://github.com/jbarlow83/OCRmyPDF
comment by zuhsetaqi · 2020-05-20 · in Linux Productivity Tools (2019) [pdf] -
OCRmyPDF (based on Tesseract) works very well: https://github.com/jbarlow83/OCRmyPDF OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched.
comment by jftuga · 2019-12-21 · in A guide to OCR with Tesseract, OpenCV and Python -
▲ 1
OCRmyPDF: add OCR text layer to scanned PDF files to enable searching/copyingstory by ingve · 2018-03-05 · 0 comments
-
For an opensource solution that uses Tesseract, check out ocrmypdf: https://github.com/jbarlow83/OCRmyPDF
comment by ocrcustomserver · 2017-11-10 · in Creating a Modern OCR Pipeline Using Computer Vision and Deep Learning