ocrmypdf
Generate a searchable PDF or PDF/A from a scanned PDF or an image of text. More information: https://ocrmypdf.readthedocs.io/en/latest/cookbook.html.
- Create a new searchable PDF/A file from a scanned PDF or image file:
ocrmypdf
- Skip pages of a mixed-format input PDF file that already contain text:
ocrmypdf --skip-text
- Clean, de-skew, and rotate pages of a poor scan:
ocrmypdf --clean --deskew --rotate-pages
- Perform lossy optimization on a PDF without performing any OCR:
ocrmypdf --tesseract-timeout 0 --optimize 2 --skip-text
- Set the metadata of a searchable PDF file:
ocrmypdf --title "" --author "" --subject "" --keywords ""
- Display help:
ocrmypdf --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
