BSD Ports

textproc/py-ocrmypdf 16.11.1 FreeBSD

Adds an OCR text layer to scanned PDF files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MPL20
Categories
textproc, python
Package size
295.4 KiB, 1660.3 KiB installed

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

In the other systems

The newest version among them is 16.11.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDtextproc/py-ocrmypdf16.11.1 newestnone known-[email protected]-
DragonFlytextproc/py-ocrmypdf16.10.0none known-[email protected]-
HardenedBSDtextproc/py-ocrmypdf16.11.1 newestno data-[email protected]-
GhostBSDtextproc/py-ocrmypdf16.11.1 newestno data-[email protected]-

Install

Binary package:

pkg install py312-ocrmypdf

From the ports tree:

cd /usr/ports/textproc/py-ocrmypdf/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-ocrmypdf>0:textproc/py-ocrmypdf

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest16.11.116.11.1-16.10.416.11.1
FreeBSD:14:quarterly16.11.116.11.1n/a16.10.416.11.1
FreeBSD:15:latest16.11.116.11.1n/a16.10.416.10.4
FreeBSD:15:quarterly16.11.116.11.1n/an/an/a
FreeBSD:16:latest16.11.116.11.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 2

Runtime 10

Test 4

The full lists below include those, and their dependencies in turn.

Build dependencies 22
Run dependencies 164

The first 100 are listed.

Configuration

Options name: textproc_ocrmypdf

OptionDefaultDescription
PNGQUANTonOptimizes the encoding of PNG-style images in PDFs
UNPAPERonDeskew and clean up pages before OCR processing
USES
ghostscript:run python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ocrmypdf-16.11.1.tar.gz7.015278e+06838ab69e0ee0f04feea0d5861a17badecab6d3beaed0e29a97058eadda58cbb1
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.