Hacker GitHub

← All repos

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

Mentions per year 35 mentions · busiest year 2021 (7)
20082026
  1. https://github.com/ocrmypdf/OCRmyPDF >OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched I ... I nailed it.
  2. …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
  3. …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
  4. …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
  5. …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…
  6. You could try OCRmyPDF ( https://github.com/ocrmypdf/OCRmyPDF )
    comment by sandreas · 2025-02-14 · in OCR4all
  7. …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…
  8. …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
  9. …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…
  10. …XChange viewer, that has the ability to do the same thing, although it is presented as "viewer". 1: https://github.com/ocrmypdf/OCRmyPDF/
  11. Try https://github.com/ocrmypdf/OCRmyPDF - it uses Tesseract behind the scenes and it absolutely brilliant.
  12. …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
  13. …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
  14. 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
  15. 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.
  16. 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
  17. GitHub repo https://github.com/ocrmypdf/OCRmyPDF
  18. …web then they probably know how to use 'ocrmypdf' as well (which uses tesseract under the hood). https://github.com/ocrmypdf/OCRmyPDF
  19. …[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...
  20. …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/…
  21. I'm a very happy user of OCRmyPDF: https://github.com/jbarlow83/OCRmyPDF/
  22. …//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
  23. …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
  24. Similar, perhaps more feature-rich tool is OCRmyPDF https://github.com/jbarlow83/OCRmyPDF
    comment by zczc · 2021-11-06 · in Pdfsandwich
  25. …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
  26. …name, but theoretically it should work for any image without the need to extract it from the PDF. https://github.com/jbarlow83/OCRmyPDF
  27. …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…
  28. …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…
  29. …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
  30. …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]
  31. 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.
  32. For an opensource solution that uses Tesseract, check out ocrmypdf: https://github.com/jbarlow83/OCRmyPDF