-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
triageIssue needs triageIssue needs triage
Description
What were you trying to do?
I often use K2pdfopt to fix scanned pdfs, so that older devices can render them, and newer ones can render them in minutes instead of hours.
It has its own ocr options, but to try to avoid crashes, I would run k2pdfopt to fix the pdf, and then ocrmypdf on the output to create readable text.
But for the past few months, this tends to result in crashes.
- take any pdf file
- run k2pdfop, with -ui -mode copy -o %s_k2opt_copy
- run ocrmypdf on the output, with --force-ocr if needed
Where are you installing/running from?
Homebrew
OCRmyPDF version
16.10.2
What operating system are you working on?
macOS
Operating system details and version
MacOS Sequoia 15.5
Simple sanity checks
- Operating system is currently supported by its vendor (not end of life)
- Python version is compatible with OCRmyPDF
- This issue is not about a specific input file
Relevant log output
Loading font Helvetica (or substitute) from
/usr/local/Cellar/ghostscript/10.05.1/share/ghostscript/Resou
rce/Font/NimbusSans-Regular
Loading font Helvetica (or substitute) from
/usr/local/Cellar/ghostscript/10.05.1/share/ghostscript/Resou
rce/Font/NimbusSans-Regular
Error: /undefinedresult in --runpdf--
Metadata
Metadata
Assignees
Labels
triageIssue needs triageIssue needs triage