The print/ocrmypdf port
ocrmypdf-16.6.0 – add an OCR text layer to scanned PDF files (cvsweb github mirror)
Description
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched or copy+pasted. - Generates a searchable PDF/A file from a regular PDF - Places OCR text accurately below the image to ease copy / paste - Keeps the exact resolution of the original embedded images - When possible, inserts OCR information as a "lossless" operation without disrupting any other content - Optimizes PDF images, often producing files smaller than the input file - If requested, deskews and/or cleans the image before performing OCR - Validates input and output files - Distributes work across all available CPU cores - Uses Tesseract OCR engine to recognize more than 100 languages (use "pkg_info -Q tesseract" to locate language packs to install) - Keeps your private data private - Scales properly to handle files with thousands of pages - Battle-tested on millions of PDFs ocrmypdf # it's a scriptable command line program -l eng+fra # it supports multiple languages --rotate-pages # it can fix pages that are misrotated --deskew # it can deskew crooked PDFs! --title "My PDF" # it can change output metadata --jobs 4 # it uses multiple cores by default --output-type pdfa # it produces PDF/A by default input_scanned.pdf # takes PDF input (or images) output_searchable.pdf # produces validated PDF outputWWW: https://ocrmypdf.readthedocs.io/
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
- devel/py-deprecation,python3
- devel/py-pluggy,python3
- devel/py-rich,python3
- devel/py-tqdm,python3
- graphics/img2pdf
- graphics/pngquant
- graphics/py-Pillow,python3
- graphics/tesseract/tessdata,-osd
- graphics/tesseract/tesseract
- lang/python/3
- print/ghostscript/gnu
- print/py-pikepdf,python3
- print/py-reportlab,python3
- print/unpaper
- sysutils/py-packaging,python3
- textproc/py-coloredlogs,python3
- textproc/py-pdfminer,python3
Test dependencies
- devel/py-deprecation,python3
- devel/py-hypothesis,python3
- devel/py-pluggy,python3
- devel/py-rich,python3
- devel/py-test,python3
- devel/py-test-xdist,python3
- devel/py-tqdm,python3
- graphics/img2pdf
- graphics/pngquant
- graphics/py-Pillow,python3
- graphics/tesseract/tessdata,-osd
- graphics/tesseract/tesseract
- lang/python/3
- print/ghostscript/gnu
- print/py-pikepdf,python3
- print/py-reportlab,python3
- print/unpaper
- sysutils/py-packaging,python3
- textproc/py-coloredlogs,python3
- textproc/py-pdfminer,python3
Files
- /usr/local/bin/ocrmypdf
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/METADATA
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/RECORD
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/WHEEL
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/entry_points.txt
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/licenses/
- /usr/local/lib/python3.11/site-packages/ocrmypdf-16.6.0.dist-info/licenses/LICENSE
- /usr/local/lib/python3.11/site-packages/ocrmypdf/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/RELEASE.md
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__main__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/__main__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/__main__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_concurrent.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_concurrent.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_defaults.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_defaults.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_graft.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_graft.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_jobcontext.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_jobcontext.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_logging.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_logging.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_metadata.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_metadata.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_pipeline.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_pipeline.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_plugin_manager.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_plugin_manager.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_progressbar.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_progressbar.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_validation.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_validation.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_version.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/_version.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/api.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/api.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/cli.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/cli.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/exceptions.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/exceptions.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/helpers.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/helpers.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/imageops.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/imageops.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/languages.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/languages.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/optimize.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/optimize.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/pdfa.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/pdfa.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/pluginspec.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/pluginspec.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/quality.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/__pycache__/quality.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_concurrent.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_defaults.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/ghostscript.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/ghostscript.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/jbig2enc.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/jbig2enc.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/pngquant.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/pngquant.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/tesseract.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/tesseract.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/unpaper.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/__pycache__/unpaper.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/ghostscript.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/jbig2enc.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/pngquant.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/tesseract.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_exec/unpaper.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_graft.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_jobcontext.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_logging.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_metadata.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipeline.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/_common.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/_common.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/hocr_to_ocr_pdf.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/hocr_to_ocr_pdf.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/ocr.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/ocr.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/pdf_to_hocr.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/__pycache__/pdf_to_hocr.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/_common.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/hocr_to_ocr_pdf.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/ocr.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_pipelines/pdf_to_hocr.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_plugin_manager.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_progressbar.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_validation.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/_version.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/api.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/concurrency.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/concurrency.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/default_filters.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/default_filters.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/ghostscript.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/ghostscript.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/optimize.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/optimize.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/tesseract_ocr.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/__pycache__/tesseract_ocr.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/concurrency.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/default_filters.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/ghostscript.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/optimize.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/builtin_plugins/tesseract_ocr.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/cli.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/pdf.ttf
- /usr/local/lib/python3.11/site-packages/ocrmypdf/data/sRGB.icc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/exceptions.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/__pycache__/semfree.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/__pycache__/semfree.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/extra_plugins/semfree.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/helpers.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__main__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/__main__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/__main__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/_font.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/_font.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/_hocr.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/__pycache__/_hocr.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/_font.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/hocrtransform/_hocr.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/imageops.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/languages.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/optimize.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfa.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/info.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/info.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/layout.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/__pycache__/layout.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/info.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pdfinfo/layout.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/pluginspec.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/py.typed
- /usr/local/lib/python3.11/site-packages/ocrmypdf/quality.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/__init__.py
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/__pycache__/
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/__pycache__/_windows.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/__pycache__/_windows.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/ocrmypdf/subprocess/_windows.py
- /usr/local/share/bash-completion/completions/ocrmypdf.bash
- /usr/local/share/fish/vendor_completions.d/ocrmypdf.fish