Port details |
- py-ocrmypdf Adds an OCR text layer to scanned PDF files
- 13.6.0 textproc
=0 Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2019-07-12 15:08:19
- Last Update: 2022-07-09 11:51:17
- Commit Hash: 52722bf
- Also Listed In: python
- License: MPL20
- Description:
- OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be
searched or copy-pasted.
Main features:
* 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
* Scales properly to handle files with thousands of pages
* Battle-tested on millions of PDFs
WWW: https://github.com/ocrmypdf/OCRmyPDF
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ocrmypdf>0:textproc/py-ocrmypdf@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-ocrmypdf/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-ocrmypdf
- pkg install py39-ocrmypdf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.NOTE: This is a Python port. Instead of py39-ocrmypdf listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-ocrmypdf
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1657358024
SHA256 (ocrmypdf-13.6.0.tar.gz) = ed2ad72ef796770c38edf5eb43392c6d166eb8959ad14a19ea0350c510b9c121
SIZE (ocrmypdf-13.6.0.tar.gz) = 7904404
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools_scm>=0 : devel/py-setuptools_scm@py39
- py39-setuptools_scm_git_archive>=0 : devel/py-setuptools_scm_git_archive@py39
- py39-setuptools>=62.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-coloredlogs>=14.0 : devel/py-coloredlogs@py39
- py39-img2pdf>=0.3.0 : graphics/py-img2pdf@py39
- py39-packaging>=20 : devel/py-packaging@py39
- py39-pillow>=8.2.0 : graphics/py-pillow@py39
- py39-tqdm>=4 : misc/py-tqdm@py39
- py39-reportlab>=3.5.66 : print/py-reportlab@py39
- py39-pdfminer.six>=20191110 : textproc/py-pdfminer.six@py39
- py39-pikepdf>=4.0.0 : textproc/py-pikepdf@py39
- py39-pluggy>=0.13.0 : devel/py-pluggy@py39
- tesseract : graphics/tesseract
- pngquant : graphics/pngquant
- unpaper : graphics/unpaper
- ghostscript9-agpl-base>=9.16_2 : print/ghostscript9-agpl-base
- py39-setuptools>=62.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
- Configuration Options:
- ===> The following configuration options are available for py39-ocrmypdf-13.6.0:
PNGQUANT=on: Optimizes the encoding of PNG-style images in PDFs
UNPAPER=on: Deskew and clean up pages before OCR processing
===> Use 'make config' to modify these settings
- Options name:
- textproc_py-ocrmypdf
- USES:
- ghostscript:run python:3.7+ shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|