Port details on branch 2024Q3 |
- py-ocrmypdf Adds an OCR text layer to scanned PDF files
- 16.4.3 textproc =0 16.4.3Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2024-07-08 13:00:09
- Last Update: 2024-08-16 10:58:45
- Commit Hash: 897bcaf
- Also Listed In: python
- License: MPL20
- WWW:
- https://github.com/ocrmypdf/OCRmyPDF
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- 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 py311-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 py311-ocrmypdf listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-ocrmypdf
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1722673047
SHA256 (ocrmypdf-16.4.3.tar.gz) = 16116ca548bfb0c6f6e7c675e289449584a5024760f3ca0c7ecaa7685f5109ba
SIZE (ocrmypdf-16.4.3.tar.gz) = 6724079
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-setuptools-scm>=7.0.5 : devel/py-setuptools-scm@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-hypothesis>=6.36.0 : devel/py-hypothesis@py311
- py311-pytest-xdist>=2.5.0 : devel/py-pytest-xdist@py311
- py311-python-xmp-toolkit>=2.0.1 : textproc/py-python-xmp-toolkit@py311
- py311-reportlab>=3.6.8 : print/py-reportlab@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-deprecation>=2.1.0 : devel/py-deprecation@py311
- py311-img2pdf>=0.5 : graphics/py-img2pdf@py311
- py311-packaging>=20 : devel/py-packaging@py311
- py311-pillow>=10.0.1 : graphics/py-pillow@py311
- py311-pillow-heif>0 : graphics/py-pillow-heif@py311
- py311-rich>=13 : textproc/py-rich@py311
- py311-pdfminer.six>=20220319 : textproc/py-pdfminer.six@py311
- py311-pikepdf>=8.10.1 : textproc/py-pikepdf@py311
- py311-pluggy>=1 : devel/py-pluggy@py311
- tesseract : graphics/tesseract
- pngquant : graphics/pngquant
- unpaper : graphics/unpaper
- ghostscript10>=10.02.0 : print/ghostscript10
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py311-ocrmypdf-16.4.3:
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.10+ shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|